summaryrefslogtreecommitdiff
path: root/tools/patchgame.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-11-15 12:56:01 +0100
committerTor Andersson <tor@ccxvii.net>2023-12-05 23:32:42 +0100
commitb422cba2bafe6b0c017026d8de9fe3d70456c697 (patch)
tree98600a3f357526face1a97132c9c889f30617845 /tools/patchgame.js
parentff56de55097dc364c57983ea91c5c7470baaa085 (diff)
downloadserver-b422cba2bafe6b0c017026d8de9fe3d70456c697.tar.gz
Misc cleanups.
Diffstat (limited to 'tools/patchgame.js')
-rwxr-xr-xtools/patchgame.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/patchgame.js b/tools/patchgame.js
index afed8a3..b149460 100755
--- a/tools/patchgame.js
+++ b/tools/patchgame.js
@@ -183,7 +183,7 @@ function patch_game(game_id, {validate_actions=true, save_snaps=true, delete_und
} catch (err) {
if (err !== "invalid action")
- console.error("ERROR", game_id, title_id, err.message)
+ console.error("ERROR", game_id, title_id, err)
if (delete_invalid) {
delete_replay.run(game_id)
delete_snap.run(game_id)