Add logging of errors
This commit is contained in:
parent
3c7bca466a
commit
536b84af2d
2 changed files with 2 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
export async function handleError({ error, event, status, message }) {
|
||||
console.error(error)
|
||||
return {
|
||||
message
|
||||
};
|
||||
|
|
|
@ -4,6 +4,7 @@ export async function handle({ event, resolve }) {
|
|||
}
|
||||
|
||||
export async function handleError({ error, event, status, message }) {
|
||||
console.error(error)
|
||||
return {
|
||||
message
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue