mirror of
https://github.com/servo/servo.git
synced 2025-07-01 20:43:39 +01:00
Show actual exception when deletion fails.
This commit is contained in:
parent
71e2e84ce8
commit
991bb42b4c
1 changed files with 2 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue