mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-18 11:31:12 -05:00
refactor: added console for error (#1340)
This commit is contained in:
committed by
GitHub
parent
c2c27a7527
commit
7fd89daca9
@@ -67,7 +67,10 @@ export async function GET(req: NextRequest) {
|
||||
key,
|
||||
});
|
||||
return NextResponse.redirect(`${WEBAPP_URL}/environments/${environmentId}/integrations/airtable`);
|
||||
} catch (error) {}
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
NextResponse.json({ Error: error }, { status: 500 });
|
||||
}
|
||||
|
||||
NextResponse.json({ Error: "unknown error occurred" }, { status: 400 });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user