Skip to content

Commit

Permalink
small error log improvement, bump version to match ne ghs-server
Browse files Browse the repository at this point in the history
  • Loading branch information
Lurkars committed Oct 30, 2023
1 parent cae1378 commit 63301be
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gloomhavensecretariat",
"version": "0.79.7",
"version": "0.80.1",
"license": "AGPL3",
"description": "Gloomhaven Secretariat is a Gloomhaven Companion app.",
"homepage": "https://gloomhaven-secretariat.de",
Expand Down
2 changes: 1 addition & 1 deletion src/app/game/businesslogic/StateManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ export class StateManager {
gameManager.stateManager.serverError = false;
break;
case "error":
console.warn("[GHS] Error: " + message.message);
console.warn("[GHS] Error: ", message);
if (message.message.startsWith("Permission(s) missing") || message.message.startsWith("invalid revision")) {
if (gameManager.stateManager.lastAction == "redo" || gameManager.stateManager.lastAction == "update") {
gameManager.stateManager.undo(false);
Expand Down

0 comments on commit 63301be

Please sign in to comment.