core: fix

master
undefined 10 months ago
parent 4ddee7c043
commit e1cb062ec0
No known key found for this signature in database

@ -126,7 +126,11 @@ export async function postJudge(rdoc: RecordDoc) {
await record.judge(rdoc.domainId, rdocs.map((r) => r._id), priority, {}, { hackRejudge: input });
} catch (e) {
next({
rid: rdoc._id, domainId: rdoc.domainId, key: 'next', message: { message: 'Unable to apply hack: {0}', params: [e.message] },
rid: rdoc._id,
domainId: rdoc.domainId,
key: 'next',
message: { message: 'Unable to apply hack: {0}', params: [e.message] },
rdoc,
});
}
}

Loading…
Cancel
Save