diff options
| author | ilotterytea <iltsu@alright.party> | 2024-10-28 00:19:33 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2024-10-28 00:19:33 +0500 |
| commit | 3363a906f81fcf9d6b67c5013e1e4055df6cc8db (patch) | |
| tree | 58a0d7a8752f44e1ad97ea6bcba742bc057dedfa /core | |
| parent | c2021fb58a08366526288f9044e61c174075838c (diff) | |
upd: don't throw RuntimeException on save error
Diffstat (limited to 'core')
| -rw-r--r-- | core/src/kz/ilotterytea/maxon/player/Savegame.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/kz/ilotterytea/maxon/player/Savegame.java b/core/src/kz/ilotterytea/maxon/player/Savegame.java index 15f69f2..dbabcb1 100644 --- a/core/src/kz/ilotterytea/maxon/player/Savegame.java +++ b/core/src/kz/ilotterytea/maxon/player/Savegame.java @@ -83,7 +83,7 @@ public class Savegame implements Serializable { logger.info("Saved the game"); } catch (IOException e) { - throw new RuntimeException("Failed to save the game", e); + logger.error("Failed to save the game: {}", e.toString()); } } |
