This commit is contained in:
parent
92e2ca02f8
commit
aff0c03ad2
2 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
export async function handleError({ error, event, status, message }) {
|
||||
console.error(error)
|
||||
return {
|
||||
status,
|
||||
message
|
||||
};
|
||||
}
|
|
@ -8,8 +8,8 @@ export async function handleFetch({ request, fetch }) {
|
|||
}
|
||||
|
||||
export async function handleError({ error, event, status, message }) {
|
||||
console.error(error)
|
||||
return {
|
||||
status,
|
||||
message
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue