Catch all exceptions and print warning if load fails
This commit is contained in:
parent
828a69fef7
commit
157a125894
|
@ -167,8 +167,9 @@ namespace de4dot {
|
||||||
catch (BadImageFormatException) {
|
catch (BadImageFormatException) {
|
||||||
return; // Not a .NET file
|
return; // Not a .NET file
|
||||||
}
|
}
|
||||||
catch (IOException) {
|
catch (Exception ex) {
|
||||||
Log.w("Could not load file: {0}", file.Filename);
|
Log.w("Could not load file: {0}. Use -v to see stack trace.", file.Filename);
|
||||||
|
Utils.printStackTrace(ex, Log.LogLevel.verbose);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user