Skip to content

Commit 72a0bd4

Browse files
author
Olli-Pekka Puolitaival
committed
Print stack trace in case of verbose
1 parent 6107769 commit 72a0bd4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/test.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,9 @@
220220
# NotSupportedException is handled by the build log
221221
pass
222222
except Exception as e:
223+
if options.verbose:
224+
import traceback
225+
traceback.print_exc()
223226
# Some other exception occurred, print the error message
224227
print(e)
225228

0 commit comments

Comments
 (0)