forked from spacebar/SplatNet-Backend
print errors when checking pid validity
This commit is contained in:
parent
88e7a89f25
commit
37f7399edb
1 changed files with 1 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ router.post('/post', postLimiter, async (request, response, next) => {
|
||||||
isPidValid = false;
|
isPidValid = false;
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
console.error(`Caught error when validating ${pid}:`, err.message || err);
|
||||||
isPidValid = false;
|
isPidValid = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue