Skip to content

Commit

Permalink
Merge pull request EverestAPI#841 from DashingCat/522-log-on-dll-load…
Browse files Browse the repository at this point in the history
…-failure
  • Loading branch information
microlith57 authored Oct 31, 2024
2 parents 7d4adf8 + 810b4cf commit e9983a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Celeste.Mod.mm/Mod/Everest/Everest.Loader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,7 @@ public static bool LoadMod(EverestModuleMetadata meta) {
if (!string.IsNullOrEmpty(meta.DLL)) {
if (meta.AssemblyContext.LoadAssemblyFromModPath(meta.DLL) is not Assembly asm) {
// Don't register a module - this will cause dependencies to not load
Logger.Error("loader", $"Could not load DLL {meta.DLL} for mod {meta.Name}");
ModsWithAssemblyLoadFailures.Add(meta);
return false;
}
Expand Down

0 comments on commit e9983a2

Please sign in to comment.