mirror of
https://github.com/lobehub/lobehub.git
synced 2026-03-30 13:59:22 +07:00
@@ -52,8 +52,10 @@ const errorHandlingLink: TRPCLink<LambdaRouter> = () => {
|
||||
}
|
||||
|
||||
default: {
|
||||
if (fetchErrorNotification)
|
||||
console.error(err);
|
||||
if (fetchErrorNotification && status) {
|
||||
fetchErrorNotification.error({ errorMessage: err.message, status });
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user