mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
Fix type error
This commit is contained in:
parent
7938ff6439
commit
8f015614ba
@ -71,7 +71,7 @@ export function deprecatedSmartRouteHandler(handler: (req: NextRequest, options:
|
||||
console.log(`[ RES] [${requestId}] ${req.method} ${censoredUrl} (in ${time.toFixed(0)}ms)`);
|
||||
return res;
|
||||
} catch (e) {
|
||||
let statusError;
|
||||
let statusError: StatusError;
|
||||
try {
|
||||
statusError = catchError(e);
|
||||
} catch (e) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user