Skip to content

Commit

Permalink
fix(clerk-js): Rethrow errors if not requires_captcha during init (#4812
Browse files Browse the repository at this point in the history
)
  • Loading branch information
nikosdouvlis authored Dec 19, 2024
1 parent 4fecdac commit 05c5de9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/ten-taxis-decide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@clerk/clerk-js": patch
---

fix(clerk-js): Rethrow errors if not requires_captcha during init
2 changes: 2 additions & 0 deletions packages/clerk-js/src/core/clerk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1898,6 +1898,8 @@ export class Clerk implements ClerkInterface {
await initEnvironmentPromise;
initComponents();
await initClient();
} else {
throw e;
}
});

Expand Down

0 comments on commit 05c5de9

Please sign in to comment.