diff options
Diffstat (limited to 'examples/python/crashlog.py')
-rwxr-xr-x | examples/python/crashlog.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/python/crashlog.py b/examples/python/crashlog.py index abd6aaae7780a..7270f60f4373b 100755 --- a/examples/python/crashlog.py +++ b/examples/python/crashlog.py @@ -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: |