mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-24 23:07:25 +08:00
impr(dev): log when result was validated
!nuf
This commit is contained in:
parent
fa58e090db
commit
b70930ab04
1 changed files with 2 additions and 0 deletions
|
|
@ -276,6 +276,8 @@ export async function addResult(
|
|||
) {
|
||||
const status = MonkeyStatusCodes.RESULT_DATA_INVALID;
|
||||
throw new MonkeyError(status.code, "Result data doesn't make sense");
|
||||
} else if (isDevEnvironment()) {
|
||||
Logger.success("Result data validated");
|
||||
}
|
||||
} else {
|
||||
if (!isDevEnvironment()) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue