mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-23 20:58:42 +00:00
Compare commits
No commits in common. "8f3120c3f0cbb420cc0faf82b34dc401303b7d12" and "8720fb30796004376c11cc79b149dd6a9fc2c3d0" have entirely different histories.
8f3120c3f0
...
8720fb3079
@ -163,7 +163,7 @@ export default async function daemon(config: UOJConfig) {
|
||||
status: 'Judged',
|
||||
score: 0,
|
||||
error: 'Judgment Failed',
|
||||
details: `<error>${htmlspecialchars(err.stack)}</error>`,
|
||||
details: `<error>${htmlspecialchars(err.message)}</error>`,
|
||||
}),
|
||||
judge_time,
|
||||
});
|
||||
|
@ -39,7 +39,7 @@ class AccountService {
|
||||
} catch (e) {
|
||||
logger.error(e);
|
||||
|
||||
await end({ error: true, status: 'Judgment Failed', message: e.stack });
|
||||
await end({ error: true, status: 'Judgment Failed', message: e.message });
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -79,7 +79,7 @@ if ($type == 'luogu') {
|
||||
}, 3);
|
||||
} else if ($type == 'loj') {
|
||||
retry_loop(function () use (&$curl, &$res) {
|
||||
$curl->get('https://api.loj.ac/api/auth/getSessionInfo?token=' . UOJRequest::post('token', 'is_string', ''));
|
||||
$curl->get('https://api.loj.ac.cn/api/auth/getSessionInfo?token=' . UOJRequest::post('token', 'is_string', ''));
|
||||
|
||||
if ($curl->error) {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user