Browse Source

Merge branch 'master' of https://github.com/syzoj/syzoj

pull/6/head
Pisces000221 7 years ago
parent
commit
949aa6b878
  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