chore: revert unrelated changes

This commit is contained in:
Daniel Roe 2023-09-04 09:20:22 +01:00 committed by GitHub
parent 5af5a8696a
commit 6edc2731da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,10 +121,10 @@ export const defineWrappedResponseHandler = <T extends EventHandlerRequest, D> (
// do something before the route handler
const response = await handler(event)
// do something after the route handler
return response
return { response }
} catch (err) {
// Error handling
return err
return { err }
}
})
```