mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-10 08:18:12 +03:00
feat: always log original object on prudence rejection
This commit is contained in:
@@ -38,6 +38,7 @@ const API_ERR_HANDLER =
|
||||
`Prudence rejection: ${error.message}, ${stringVal} [K:${error.keychain}]`,
|
||||
{
|
||||
userVal: error.userVal,
|
||||
fullObj: req.method === "GET" ? req.query : req.safeBody,
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user