mirror of
				https://github.com/CumulusNetworks/ifupdown2.git
				synced 2024-05-06 15:54:50 +00:00 
			
		
		
		
	python3: scheduler: add traceback.print_exc for debugging
Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
This commit is contained in:
		@@ -104,8 +104,8 @@ class ifaceScheduler():
 | 
			
		||||
            except Exception as e:
 | 
			
		||||
                if not ifupdownobj.ignore_error(str(e)):
 | 
			
		||||
                    err = 1
 | 
			
		||||
                    #import traceback
 | 
			
		||||
                    #traceback.print_exc()
 | 
			
		||||
                    import traceback
 | 
			
		||||
                    traceback.print_exc()
 | 
			
		||||
                    ifupdownobj.logger.error(str(e))
 | 
			
		||||
                # Continue with rest of the modules
 | 
			
		||||
                pass
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user