Skip to content

Commit 9cbc91f

Browse files
Olli-Pekka PuolitaivalCruz Monrreal II
authored andcommitted
Print stack trace in case of verbose
1 parent 3760e9f commit 9cbc91f

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)