diff --git a/src/rooms/commands/GameResultCommand.ts b/src/rooms/commands/GameResultCommand.ts index 7a449dc..760c4d3 100644 --- a/src/rooms/commands/GameResultCommand.ts +++ b/src/rooms/commands/GameResultCommand.ts @@ -223,8 +223,8 @@ export class GameResultCommand extends Command { .then(function (response) { debugRoom(JSON.stringify(response.data)); }) - .catch(function (error) { - error(error); + .catch(function (err) { + error(err); }); }