Skip to content

Commit

Permalink
"Unable to load module" should just be a warning, not error
Browse files Browse the repository at this point in the history
  • Loading branch information
rmcrackan committed Apr 15, 2024
1 parent 91ce727 commit 962d9b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/LibationFileManager/InteropFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ static InteropFactory()
var assembly = CurrentDomain_AssemblyResolve_internal(asmName, here: here);
lowEffortCache[key] = assembly;

//Let the runtime handle any dll not found exceptions.
// Let the runtime handle any dll not found exceptions
if (assembly is null)
Serilog.Log.Logger.Error($"Unable to load module {args.Name}");
Serilog.Log.Logger.Warning($"Unable to load module {args.Name}");

return assembly;
}
Expand Down

0 comments on commit 962d9b5

Please sign in to comment.