Browse Source

Handle DirectoryNotFoundException in AssemblyTreeNode and print friedly error message.

pull/1051/head
Siegfried Pammer 8 years ago
parent
commit
32457c6a82
  1. 3
      ILSpy/TreeNodes/AssemblyTreeNode.cs

3
ILSpy/TreeNodes/AssemblyTreeNode.cs

@ -272,6 +272,9 @@ namespace ICSharpCode.ILSpy.TreeNodes
case FileNotFoundException fileNotFound:
HandleException(fileNotFound, "The file was not found.");
return;
case DirectoryNotFoundException dirNotFound:
HandleException(dirNotFound, "The directory was not found.");
return;
default:
throw;
}

Loading…
Cancel
Save