mirror of
https://github.com/documenso/documenso.git
synced 2026-07-24 17:04:12 +10:00
fix: log unknown errors in the auth error handler (#2014)
This commit is contained in:
@@ -81,6 +81,7 @@ auth.onError((err, c) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Handle other errors
|
// Handle other errors
|
||||||
|
console.error('Unknown Error:', err);
|
||||||
return c.json(
|
return c.json(
|
||||||
{
|
{
|
||||||
code: AppErrorCode.UNKNOWN_ERROR,
|
code: AppErrorCode.UNKNOWN_ERROR,
|
||||||
|
|||||||
Reference in New Issue
Block a user