File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ class default_1 extends Controller {
47
47
}
48
48
}
49
49
catch ( e ) {
50
- this . _dispatchEvent ( 'webauthn:assertion:failure' , { } ) ;
50
+ this . _dispatchEvent ( 'webauthn:assertion:failure' , { exception : e } ) ;
51
51
return ;
52
52
}
53
53
}
@@ -70,7 +70,7 @@ class default_1 extends Controller {
70
70
}
71
71
}
72
72
catch ( e ) {
73
- this . _dispatchEvent ( 'webauthn:attestation:failure' , { } ) ;
73
+ this . _dispatchEvent ( 'webauthn:attestation:failure' , { exception : e } ) ;
74
74
return ;
75
75
}
76
76
}
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ export default class extends Controller {
91
91
window . location . replace ( this . requestSuccessRedirectUriValue ) ;
92
92
}
93
93
} catch ( e ) {
94
- this . _dispatchEvent ( 'webauthn:assertion:failure' , { } ) ;
94
+ this . _dispatchEvent ( 'webauthn:assertion:failure' , { exception : e } ) ;
95
95
return ;
96
96
}
97
97
}
@@ -117,7 +117,7 @@ export default class extends Controller {
117
117
window . location . replace ( this . creationSuccessRedirectUriValue ) ;
118
118
}
119
119
} catch ( e ) {
120
- this . _dispatchEvent ( 'webauthn:attestation:failure' , { } ) ;
120
+ this . _dispatchEvent ( 'webauthn:attestation:failure' , { exception : e } ) ;
121
121
return ;
122
122
}
123
123
}
You can’t perform that action at this time.
0 commit comments