more auth ree
Some checks failed
CI/CD Pipeline / Build and Push PocketBase Docker Image (push) Has been cancelled
CI/CD Pipeline / Build and Push App Docker Image (push) Has been cancelled
CI/CD Pipeline / Deploy to Kubernetes (push) Has been cancelled

This commit is contained in:
yohlo
2026-03-02 22:17:05 -06:00
parent 152235dd14
commit 76306cc937
5 changed files with 50 additions and 7 deletions

View File

@@ -127,6 +127,11 @@ export const Route = createRootRouteWithContext<{
return { auth };
} catch (error: any) {
if (error?.options?.to && error?.options?.statusCode) {
console.log('__root beforeLoad: Re-throwing redirect', error.options);
throw error;
}
console.error('__root beforeLoad error:', error);
return {};
}