aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2018-03-08 09:57:19 -0500
committerJosh Matthews <josh@joshmatthews.net>2018-03-08 14:21:36 -0500
commit991bb42b4cd436d8bcc987da52c2dd49536083fd (patch)
tree8ed91561c0cd656690ab8b068d8fc6302855d1f2 /python
parent71e2e84ce8c344d839dd75d4ab1252b81679a083 (diff)
downloadservo-991bb42b4cd436d8bcc987da52c2dd49536083fd.tar.gz
servo-991bb42b4cd436d8bcc987da52c2dd49536083fd.zip
Show actual exception when deletion fails.
Diffstat (limited to 'python')
-rw-r--r--python/servo/bootstrap_commands.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/servo/bootstrap_commands.py b/python/servo/bootstrap_commands.py
index 47f56bb167c..1d103fe5aca 100644
--- a/python/servo/bootstrap_commands.py
+++ b/python/servo/bootstrap_commands.py
@@ -16,6 +16,7 @@ import os.path as path
import re
import subprocess
import sys
+import traceback
import urllib2
import glob
@@ -318,6 +319,7 @@ class MachCommands(CommandBase):
try:
delete(crate_path)
except:
+ print(traceback.format_exc())
print("Delete %s failed!" % crate_path)
else:
print("Would remove `{}`{} package from {}".format(*print_msg))