completionId: cgen-fcf378c86edd4ac791b4afd23671d944
cgen-fcf378c86edd4ac791b4afd23671d944
This commit is contained in:
parent
d0b51ebf8b
commit
3399b1bbd9
1 changed files with 6 additions and 1 deletions
|
|
@ -116,7 +116,12 @@ export default async function handler(req: VercelRequest, res: VercelResponse) {
|
|||
domain: req.headers.host || "",
|
||||
});
|
||||
} catch (error: any) {
|
||||
console.error("[Passport Subdomain Error]", error);
|
||||
console.error("[Passport Subdomain Error]", {
|
||||
message: error?.message || String(error),
|
||||
code: error?.code,
|
||||
status: error?.status,
|
||||
details: error?.details || error?.hint,
|
||||
});
|
||||
|
||||
if (/SUPABASE_/.test(String(error?.message || ""))) {
|
||||
return res.status(500).json({
|
||||
|
|
|
|||
Loading…
Reference in a new issue