Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e964c6d

Browse files
committed
removed excessive tracing
1 parent 8b8db53 commit e964c6d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/runtime/assemblymanager.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ public static Assembly LoadAssembly(string name)
204204
{
205205
assembly = Assembly.Load(name);
206206
}
207+
catch (FileNotFoundException) { }
207208
catch (Exception e)
208209
{
209210
Trace.WriteLine($"{nameof(AssemblyManager)} failed to load assembly {name}: {e}");
@@ -229,6 +230,7 @@ public static Assembly LoadAssemblyPath(string name)
229230
{
230231
assembly = Assembly.LoadFrom(path);
231232
}
233+
catch (FileNotFoundException) { }
232234
catch (Exception e)
233235
{
234236
Trace.WriteLine($"{nameof(AssemblyManager)} failed to load assembly {name}: {e}");

0 commit comments

Comments
 (0)