Skip to content

Commit

Permalink
Merge pull request #322 from coloursofnoise/exception-outofmemory
Browse files Browse the repository at this point in the history
  • Loading branch information
0x0ade authored Jun 22, 2021
2 parents ca07b07 + be8fa49 commit fc9e7cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Celeste.Mod.mm/Patches/MapData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ private void Load() {
}
}

} catch (Exception e) {
} catch (Exception e) when (e is not OutOfMemoryException) { // OOM errors are currently unrecoverable
Mod.Logger.Log(LogLevel.Warn, "misc", $"Failed loading MapData {Area}");
e.LogDetailed();
}
Expand Down

0 comments on commit fc9e7cd

Please sign in to comment.