From 991bb42b4cd436d8bcc987da52c2dd49536083fd Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Thu, 8 Mar 2018 09:57:19 -0500 Subject: [PATCH] Show actual exception when deletion fails. --- python/servo/bootstrap_commands.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/servo/bootstrap_commands.py b/python/servo/bootstrap_commands.py index 47f56bb167c7..1d103fe5acaf 100644 --- a/python/servo/bootstrap_commands.py +++ b/python/servo/bootstrap_commands.py @@ -16,6 +16,7 @@ import re import subprocess import sys +import traceback import urllib2 import glob @@ -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))