mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 06:30:27 +03:00 
			
		
		
		
	No need to print a trace when the user did a ^C
This commit is contained in:
		
							parent
							
								
									8306bac7de
								
							
						
					
					
						commit
						ec8291ba77
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		
							
								
								
									
										3
									
								
								fdroid
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								fdroid
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -95,6 +95,9 @@ def main():
 | 
			
		|||
        else:
 | 
			
		||||
            logging.critical(str(e))
 | 
			
		||||
        sys.exit(1)
 | 
			
		||||
    except KeyboardInterrupt:
 | 
			
		||||
        print('')
 | 
			
		||||
        sys.exit(1)
 | 
			
		||||
    # These should only be unexpected crashes due to bugs in the code
 | 
			
		||||
    # str(e) often doesn't contain a reason, so just show the backtrace
 | 
			
		||||
    except Exception, e:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue