mirror of
https://github.com/documenso/documenso.git
synced 2026-07-10 13:06:00 +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
|
||||
console.error('Unknown Error:', err);
|
||||
return c.json(
|
||||
{
|
||||
code: AppErrorCode.UNKNOWN_ERROR,
|
||||
|
||||
Reference in New Issue
Block a user