Skip to content

Commit

Permalink
feat: log res detail
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangsx committed May 9, 2023
1 parent 109d6c0 commit 96be68d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/forefront/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export class Forefront extends Chat {
{data: {'email_address': mailAddress}});
const traceToken = (signEmailRes.data as any)?.response?.id;
if (!traceToken) {
throw new Error('Failed to create account! sign email res parse token failed!');
throw new Error(`Failed to create account! sign email res parse token failed! res:${JSON.stringify(signEmailRes.data)}`);
}

const verifyRes = await session.post(`https://clerk.forefront.ai/v1/client/sign_ups/${traceToken}/prepare_verification?_clerk_js_version=4.39.0`, {
Expand Down

0 comments on commit 96be68d

Please sign in to comment.