mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-08-07 04:42:17 -04:00
comments
This commit is contained in:
1 parent
09cc838bb4
commit
1927d19961
1 file changed
+1
-1
@@ -121,7 +121,6 @@ namespace LibationFileManager
|
||||
|
||||
#if DEBUG
|
||||
|
||||
// `First` instead of `FirstOrDefault`. If it's not present we're going to fail anyway. May as well be here
|
||||
var modulePath = ModuleList.SingleOrDefault(m => m.ModuleName.EqualsInsensitive(asmName))?.FileName;
|
||||
#else
|
||||
var here = Path.GetDirectoryName(Environment.ProcessPath);
|
||||
@@ -134,6 +133,7 @@ namespace LibationFileManager
|
||||
#endif
|
||||
if (modulePath is null)
|
||||
{
|
||||
//Let the runtime handle any dll not found exceptions.
|
||||
Serilog.Log.Logger.Error($"Unable to load module {args.Name}");
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user