mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-19 15:51:45 +00:00
Make stacktraces Error instead of Debug
This commit is contained in:
2 files changed
+4
-14
No files matched your search
@@ -192,11 +192,7 @@ namespace BepInEx.Preloader.Core
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Logger.LogError($"Failed to load patcher [{patcherPlugin.TypeName}]: {e.Message}");
|
||||
if (e is ReflectionTypeLoadException re)
|
||||
Logger.LogDebug(TypeLoader.TypeLoadExceptionToString(re));
|
||||
else
|
||||
Logger.LogDebug(e.ToString());
|
||||
Logger.LogError($"Failed to load patcher [{patcherPlugin.TypeName}]: {(e is ReflectionTypeLoadException re ? TypeLoader.TypeLoadExceptionToString(re) : e)}");
|
||||
}
|
||||
|
||||
var assName = ass.GetName();
|
||||
|
||||
Reference in new issue
Block a user