diff options
Diffstat (limited to 'packages/browser/src/methods/startRegistration.ts')
-rw-r--r-- | packages/browser/src/methods/startRegistration.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/browser/src/methods/startRegistration.ts b/packages/browser/src/methods/startRegistration.ts index 4cc92cc..4037092 100644 --- a/packages/browser/src/methods/startRegistration.ts +++ b/packages/browser/src/methods/startRegistration.ts @@ -40,7 +40,7 @@ export default async function startRegistration( let credential; try { credential = (await navigator.credentials.create(options)) as RegistrationCredential; - } catch(err) { + } catch (err) { throw identifyRegistrationError({ error: err as Error, options }); } |