1
0
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:
Julien Fortin
2019-10-02 18:32:59 +02:00
parent 15b329c571
commit 502eb02334

View File

@@ -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