From fb89421b093d9d6e0ceee629f70dad39e906a724 Mon Sep 17 00:00:00 2001 From: Matt Portune <59324545+mportune-bw@users.noreply.github.com> Date: Thu, 9 Sep 2021 11:13:33 -0400 Subject: [PATCH] Remove redundant error messaging (#1187) * Remove redundant error messaging Remove the "WebAuth Error" prefix from WebAuthn error strings * Update src/connectors/webauthn.ts Co-authored-by: Oscar Hinton Co-authored-by: Oscar Hinton --- src/connectors/webauthn.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connectors/webauthn.ts b/src/connectors/webauthn.ts index 1a7642bcd3..b5d64b985d 100644 --- a/src/connectors/webauthn.ts +++ b/src/connectors/webauthn.ts @@ -119,7 +119,7 @@ function executeWebAuthn() { navigator.credentials.get({ publicKey: obj }) .then(success) - .catch(err => error('WebAuth Error: ' + err)); + .catch(error); } function onMessage() {