mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-25 04:35:54 +08:00
GP-0: Improved importer error reporting
This commit is contained in:
@@ -439,8 +439,10 @@ public class ImporterUtilities {
|
||||
// no need to show a message
|
||||
}
|
||||
catch (Exception e) {
|
||||
Throwable cause = e.getCause() != null ? e.getCause() : e;
|
||||
Msg.showError(ImporterUtilities.class, tool.getActiveWindow(), "Error Importing File",
|
||||
"Error importing file: %s (%s)".formatted(fsrl.getName(), e.getMessage()));
|
||||
"Error importing file: %s (%s)".formatted(fsrl.getName(), cause.getMessage()),
|
||||
cause);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user