mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-10 07:36:09 +08:00
better logs
This commit is contained in:
parent
03913e88fd
commit
82fd1bfd7a
1 changed files with 2 additions and 2 deletions
|
@ -385,7 +385,7 @@ function validateResult(result) {
|
|||
wpm > result.wpm + result.wpm * 0.01
|
||||
) {
|
||||
console.error(
|
||||
`Could not validate result for ${result.uid}. ${wpm} != ${result.wpm}`
|
||||
`Could not validate result for ${result.uid}. wpm ${wpm} != ${result.wpm}`
|
||||
);
|
||||
return false;
|
||||
}
|
||||
|
@ -396,7 +396,7 @@ function validateResult(result) {
|
|||
raw > result.rawWpm + result.rawWpm * 0.01
|
||||
) {
|
||||
console.error(
|
||||
`Could not validate result for ${result.uid}. ${raw} != ${result.rawWpm}`
|
||||
`Could not validate result for ${result.uid}. raw ${raw} != ${result.rawWpm}`
|
||||
);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue