Skip to content

Commit a2e0a91

Browse files
committed
Add traceback to some errors
1 parent 0a2c439 commit a2e0a91

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mbed/mbed.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3329,6 +3329,7 @@ def main():
33293329
"You could retry the last command with \"-v\" flag for verbose output\n", e.args[0])
33303330
else:
33313331
error('OS Error: %s' % e.args[1], e.args[0])
3332+
traceback.print_exc(file=sys.stdout)
33323333
except KeyboardInterrupt:
33333334
info('User aborted!', -1)
33343335
sys.exit(255)

0 commit comments

Comments
 (0)