Skip to content

Commit

Permalink
Show actual exception when deletion fails.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdm committed Mar 8, 2018
1 parent 71e2e84 commit 991bb42
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/servo/bootstrap_commands.py
Expand Up @@ -16,6 +16,7 @@
import re
import subprocess
import sys
import traceback
import urllib2
import glob

Expand Down Expand Up @@ -318,6 +319,7 @@ def get_size(path):
try:
delete(crate_path)
except:
print(traceback.format_exc())
print("Delete %s failed!" % crate_path)
else:
print("Would remove `{}`{} package from {}".format(*print_msg))
Expand Down

0 comments on commit 991bb42

Please sign in to comment.