kopia lustrzana https://github.com/cloudflare/wildebeest
also log error.cause for D1
rodzic
07cc3cc55c
commit
a122cb99af
|
@ -14,7 +14,7 @@ export async function errorHandling(context: EventContext<Env, any, any>) {
|
|||
if (sentry !== null) {
|
||||
sentry.captureException(err)
|
||||
}
|
||||
console.error(err.stack)
|
||||
console.error(err.stack, err.cause)
|
||||
return internalServerError()
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue