From b422cba2bafe6b0c017026d8de9fe3d70456c697 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 15 Nov 2023 12:56:01 +0100 Subject: Misc cleanups. --- tools/patchgame.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/patchgame.js') 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) -- cgit v1.2.3