We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85004d9 commit 9722b48Copy full SHA for 9722b48
1 file changed
memento.py
@@ -91,7 +91,7 @@ def DoStuff(self):
91
n.DoStuff()
92
except:
93
print('-> doing stuff failed!')
94
- import traceback
95
- traceback.print_exc(0)
+ import sys, traceback
+ traceback.print_exc(file=sys.stdout)
96
pass
97
print(n)
0 commit comments