Skip to content

Commit

Permalink
Merge pull request #753 from SnipUndercover/no-more-resting-in-everest
Browse files Browse the repository at this point in the history
Remove unhelpful "Everest in your Everest" error log message
  • Loading branch information
maddie480 authored Mar 16, 2024
2 parents 464dea2 + bbf6007 commit afcbd4e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Celeste.Mod.mm/Patches/Celeste.cs
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,14 @@ private static void UnhandledExceptionHandler(object sender, UnhandledExceptionE
public static void CriticalFailureHandler(Exception e) {
Everest.LogDetours();

(e ?? new Exception("Unknown exception")).LogDetailed("CRITICAL");
e ??= new Exception("Unknown exception");

e.LogDetailed("CRITICAL");

// here (ever) rests a tribute to everest in your everest
// 2020/02/24 - 2024/03/12

/*
ErrorLog.Write(
@"Yo, I heard you like Everest so I put Everest in your Everest so you can Ever Rest while you Ever Rest.
Expand All @@ -259,7 +265,9 @@ public static void CriticalFailureHandler(Exception e) {
IF YOU WANT TO HELP US FIX THIS:
Please join the Celeste Discord server and drag and drop your log.txt into #modding_help.
https://discord.gg/6qjaePQ");
*/

ErrorLog.Write(e);
ErrorLog.Open();
if (!_CriticalFailureIsUnhandledException)
Environment.Exit(-1);
Expand Down

0 comments on commit afcbd4e

Please sign in to comment.