mirror of
https://github.com/documenso/documenso
synced 2026-04-21 13:27:18 +00:00
fix: log unknown errors in the auth error handler (#2014)
This commit is contained in:
parent
02f1264eea
commit
df4316ac5c
1 changed files with 1 additions and 0 deletions
|
|
@ -81,6 +81,7 @@ auth.onError((err, c) => {
|
|||
}
|
||||
|
||||
// Handle other errors
|
||||
console.error('Unknown Error:', err);
|
||||
return c.json(
|
||||
{
|
||||
code: AppErrorCode.UNKNOWN_ERROR,
|
||||
|
|
|
|||
Loading…
Reference in a new issue