Skip to content

Commit afcbd4e

Browse files
authored
Merge pull request #753 from SnipUndercover/no-more-resting-in-everest
Remove unhelpful "Everest in your Everest" error log message
2 parents 464dea2 + bbf6007 commit afcbd4e

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

Celeste.Mod.mm/Patches/Celeste.cs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,14 @@ private static void UnhandledExceptionHandler(object sender, UnhandledExceptionE
249249
public static void CriticalFailureHandler(Exception e) {
250250
Everest.LogDetours();
251251

252-
(e ?? new Exception("Unknown exception")).LogDetailed("CRITICAL");
252+
e ??= new Exception("Unknown exception");
253253

254+
e.LogDetailed("CRITICAL");
255+
256+
// here (ever) rests a tribute to everest in your everest
257+
// 2020/02/24 - 2024/03/12
258+
259+
/*
254260
ErrorLog.Write(
255261
@"Yo, I heard you like Everest so I put Everest in your Everest so you can Ever Rest while you Ever Rest.
256262
@@ -259,7 +265,9 @@ public static void CriticalFailureHandler(Exception e) {
259265
IF YOU WANT TO HELP US FIX THIS:
260266
Please join the Celeste Discord server and drag and drop your log.txt into #modding_help.
261267
https://discord.gg/6qjaePQ");
268+
*/
262269

270+
ErrorLog.Write(e);
263271
ErrorLog.Open();
264272
if (!_CriticalFailureIsUnhandledException)
265273
Environment.Exit(-1);

0 commit comments

Comments
 (0)