We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e040765 commit 5cbeabaCopy full SHA for 5cbeaba
packages/shared/src/loadClerkJsScript.ts
@@ -141,7 +141,9 @@ const loadClerkJsScript = async (opts?: LoadClerkJsScriptOptions): Promise<HTMLS
141
crossOrigin: 'anonymous',
142
nonce: opts.nonce,
143
beforeLoad: applyClerkJsScriptAttributes(opts),
144
- }).catch(() => {});
+ }).catch(() => {
145
+ throw new Error(FAILED_TO_LOAD_ERROR);
146
+ });
147
148
return loadPromise;
149
};
0 commit comments