Skip to content

Ghidra is a software reverse engineering (SRE) framework

Update xml_exporter.py

ZERO-A-ONE2484d2b548e2
diff --git a/GhidraBuild/IDAPro/Python/9xx/plugins/xml_exporter.py b/GhidraBuild/IDAPro/Python/9xx/plugins/xml_exporter.py
index 317df68ebd..ced9bd968c 100644
--- a/GhidraBuild/IDAPro/Python/9xx/plugins/xml_exporter.py
+++ b/GhidraBuild/IDAPro/Python/9xx/plugins/xml_exporter.py
@@ -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}")