mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-29 11:26:13 +08:00
chore(server): warn if object hash check is disabled
This commit is contained in:
parent
a53d60207c
commit
38e0d50885
1 changed files with 2 additions and 0 deletions
|
|
@ -218,6 +218,8 @@ export async function addResult(
|
|||
const status = MonkeyStatusCodes.RESULT_HASH_INVALID;
|
||||
throw new MonkeyError(status.code, "Incorrect result hash");
|
||||
}
|
||||
} else {
|
||||
Logger.warning("Object hash check is disabled, skipping hash check");
|
||||
}
|
||||
|
||||
if (completedEvent.funbox) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue