Skip to content

Commit

Permalink
Update docker_queue.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangmy21 authored May 8, 2024
1 parent bcd25f5 commit 664f07b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/helpers/docker_queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,8 @@ const docker_cron = async () => {
console.log("Stopping server container: " + container_server.id);
container_server.stop();
}
} catch (err) {
if (err.statusCode? !== 404)
} catch (err: any) {
if (err.statusCode !== 404)
console.error("An error occurred in Docker Time Out Checking:", err);
}
}, (game_time + 180) * 1000);
Expand Down

0 comments on commit 664f07b

Please sign in to comment.