Skip to content

Commit 5cbeaba

Browse files
committed
wip
1 parent e040765 commit 5cbeaba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/shared/src/loadClerkJsScript.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,9 @@ const loadClerkJsScript = async (opts?: LoadClerkJsScriptOptions): Promise<HTMLS
141141
crossOrigin: 'anonymous',
142142
nonce: opts.nonce,
143143
beforeLoad: applyClerkJsScriptAttributes(opts),
144-
}).catch(() => {});
144+
}).catch(() => {
145+
throw new Error(FAILED_TO_LOAD_ERROR);
146+
});
145147

146148
return loadPromise;
147149
};

0 commit comments

Comments
 (0)