Skip to content

Commit

Permalink
Merge pull request #1 from ImAxel0/Development
Browse files Browse the repository at this point in the history
Changed exception content type
  • Loading branch information
ImAxel0 authored Jun 18, 2024
2 parents 520cb03 + b0f9f41 commit 3a99369
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BepInNodeLoader/Core/Serialization.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static ModData GetModData(string modPath)
}
catch (Exception ex)
{
Utilities.BLogger.BLog.LogError($"Error during deserialization: {ex.Source}");
Utilities.BLogger.BLog.LogError($"Error during deserialization: {ex.Message}");
return null;
}
}
Expand All @@ -41,7 +41,7 @@ public static ModData GetModDataFromContent(string modContent)
}
catch (Exception ex)
{
Utilities.BLogger.BLog.LogError($"Error during deserialization: {ex}");
Utilities.BLogger.BLog.LogError($"Error during deserialization: {ex.Message}");
return null;
}
}
Expand Down

0 comments on commit 3a99369

Please sign in to comment.