mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
More spans
This commit is contained in:
parent
672de18418
commit
61a27c40ea
@ -266,9 +266,9 @@ export function createSmartRouteHandler<
|
||||
return await handler.handler(smartReq as any, fullReq);
|
||||
});
|
||||
|
||||
const validated = await validateSmartResponse(nextRequest, smartRes, handler.response);
|
||||
|
||||
return validated;
|
||||
return await traceSpan("validating smart response", async () => {
|
||||
return await validateSmartResponse(nextRequest, smartRes, handler.response);
|
||||
});
|
||||
};
|
||||
|
||||
return Object.assign(handleApiRequest(async (req, options, requestId) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user