chore(deps): update dependency @sveltejs/kit to v2.5.25 #68
@ -24,9 +24,9 @@ export const handle: Handle = async ({ event, resolve }) => {
|
||||
// make requestId available to handlers
|
||||
event.locals.requestId = requestId;
|
||||
|
||||
const { executionTime, result: response } = await timedExecution(async () => {
|
||||
return await resolve(event);
|
||||
});
|
||||
const { executionTime, result: response } = await timedExecution(
|
||||
async () => await resolve(event)
|
||||
);
|
||||
response.headers.set(requestIdHeader, requestId);
|
||||
|
||||
log.info(
|
||||
|
Reference in New Issue
Block a user