You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 28, 2024. It is now read-only.
Logger.ErrorInternal(string.Format("error instantiating mod {0} from {1}:\n{2}\n{3}",modClass.FullName,mod.File,e.ToString(),e.StackTrace.ToString()));
120
+
Logger.ErrorInternal($"error instantiating mod {modClass.FullName} from {mod.File}:\n{e}");
120
121
return;
121
122
}
122
123
if(neosMod==null)
123
124
{
124
-
Logger.ErrorInternal(string.Format("unexpected null instantiating mod {0} from {1}",modClass.FullName,mod.File));
125
+
Logger.ErrorInternal($"unexpected null instantiating mod {modClass.FullName} from {mod.File}");
125
126
return;
126
127
}
127
128
LoadedMods.Add(mod.Assembly,neosMod);
128
-
Logger.MsgInternal(string.Format("loaded mod {0} {1} from {2}",neosMod.Name,neosMod.Version,mod.File));
129
+
Logger.MsgInternal($"loaded mod {neosMod.Name}{neosMod.Version} from {mod.File}");
129
130
try
130
131
{
131
132
neosMod.OnEngineInit();
132
133
}
133
134
catch(Exceptione)
134
135
{
135
-
Logger.ErrorInternal(string.Format("mod {0} from {1} threw error from OnEngineInit():\n{2}\n{3}",modClass.FullName,mod.File,e.ToString(),e.StackTrace.ToString()));
136
+
Logger.ErrorInternal($"mod {modClass.FullName} from {mod.File} threw error from OnEngineInit():\n{e}");
0 commit comments