Ignore EndOfStreamException
This commit is contained in:
parent
538e4f738d
commit
ef59ce7824
|
@ -192,6 +192,9 @@ namespace de4dot.cui {
|
||||||
catch (BadImageFormatException) {
|
catch (BadImageFormatException) {
|
||||||
return false; // Not a .NET file
|
return false; // Not a .NET file
|
||||||
}
|
}
|
||||||
|
catch (EndOfStreamException) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
catch (Exception ex) {
|
catch (Exception ex) {
|
||||||
Log.w("Could not load file ({0}): {1}", ex.GetType(), file.Filename);
|
Log.w("Could not load file ({0}): {1}", ex.GetType(), file.Filename);
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user