From 227e678cf9db6ee4b3d6e2d458af069fc01b6737 Mon Sep 17 00:00:00 2001 From: Tian Yunhao Date: Sun, 26 Nov 2017 11:27:20 +0800 Subject: [PATCH] Update judge_state.js --- models/judge_state.js | 1 + 1 file changed, 1 insertion(+) diff --git a/models/judge_state.js b/models/judge_state.js index a5f546a..2fab9d0 100644 --- a/models/judge_state.js +++ b/models/judge_state.js @@ -194,6 +194,7 @@ class JudgeState extends Model { this.status = 'Waiting'; await this.save(); } catch (err) { + console.log("Error while connecting to judge frontend: " + err.toString()); throw new ErrorMessage("无法开始评测。"); } });