mirror of
https://github.com/renbaoshuo/UOJ-Luogu-RemoteJudge.git
synced 2024-12-12 23:06:28 +00:00
fix: "Judgement Failed"
This commit is contained in:
parent
b60d06a98d
commit
80b578b0fc
@ -31,7 +31,7 @@ const STATUS_MAP = [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
'Judgment Failed',
|
||||
'Judgement Failed',
|
||||
'Accepted',
|
||||
0,
|
||||
'Wrong Answer', // WA
|
||||
@ -160,7 +160,7 @@ export default class Luogu {
|
||||
if (HTTP_ERROR_MAP[result.status]) {
|
||||
await end({
|
||||
error: true,
|
||||
status: 'Judgment Failed',
|
||||
status: 'Judgement Failed',
|
||||
message: `[Luogu] ${HTTP_ERROR_MAP[result.status]}.`,
|
||||
});
|
||||
|
||||
@ -187,7 +187,7 @@ export default class Luogu {
|
||||
if (HTTP_ERROR_MAP[result.status]) {
|
||||
await end({
|
||||
error: true,
|
||||
status: 'Judgment Failed',
|
||||
status: 'Judgement Failed',
|
||||
message: `[Luogu] ${HTTP_ERROR_MAP[result.status]}.`,
|
||||
});
|
||||
|
||||
@ -207,7 +207,7 @@ export default class Luogu {
|
||||
return await end({
|
||||
error: true,
|
||||
id,
|
||||
status: 'Judgment Failed',
|
||||
status: 'Judgement Failed',
|
||||
message: 'Failed to fetch submission details.',
|
||||
});
|
||||
}
|
||||
@ -289,7 +289,7 @@ export default class Luogu {
|
||||
return await end({
|
||||
error: true,
|
||||
id,
|
||||
status: 'Judgment Failed',
|
||||
status: 'Judgement Failed',
|
||||
message: 'Failed to fetch submission details.',
|
||||
});
|
||||
}
|
||||
@ -354,7 +354,7 @@ export default class Luogu {
|
||||
|
||||
await end({
|
||||
error: true,
|
||||
status: 'Judgment Failed',
|
||||
status: 'Judgement Failed',
|
||||
message: e.message,
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user