Update xml_exporter.py

This commit is contained in:
ZERO-A-ONE 2025-08-20 22:47:57 +08:00 committed by GitHub
parent f47258c2b2
commit 2484d2b548
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -75,7 +75,7 @@ class XmlExporterPlugin(ida_idaapi.plugin_t):
msg = "XML Export cancelled!"
print("\n" + msg)
idc.warning(msg)
except:
except Exception as e:
ida_kernwin.hide_wait_box()
msg = "***** Exception occurred: XML Exporter failed! *****"
print(f"\n{msg}\n {type(e).__name__}: {e}")