Browse Source

Update judge_state.js

pull/6/head
Tian Yunhao 7 years ago committed by GitHub
parent
commit
227e678cf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      models/judge_state.js

1
models/judge_state.js

@ -194,6 +194,7 @@ class JudgeState extends Model {
this.status = 'Waiting'; this.status = 'Waiting';
await this.save(); await this.save();
} catch (err) { } catch (err) {
console.log("Error while connecting to judge frontend: " + err.toString());
throw new ErrorMessage("无法开始评测。"); throw new ErrorMessage("无法开始评测。");
} }
}); });

Loading…
Cancel
Save