mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-11 18:36:55 +00:00
Print the error if dsymForUUID sometimes produces bad plists.
Not much we can do about it but at least we can print the bad plist and the error. llvm-svn: 298958
This commit is contained in:
parent
331297c62e
commit
9f44d460d9
@ -259,7 +259,11 @@ class CrashLog(symbolication.Symbolicator):
|
||||
self.dsymForUUIDBinary, uuid_str)
|
||||
s = commands.getoutput(dsym_for_uuid_command)
|
||||
if s:
|
||||
plist_root = plistlib.readPlistFromString(s)
|
||||
try:
|
||||
plist_root = plistlib.readPlistFromString(s)
|
||||
except:
|
||||
print("Got exception: ", sys.exc_value, " handling dsymForUUID output: \n", s)
|
||||
raise
|
||||
if plist_root:
|
||||
plist = plist_root[uuid_str]
|
||||
if plist:
|
||||
|
Loading…
x
Reference in New Issue
Block a user