mirror of
https://github.com/bitwarden/jslib
synced 2025-12-06 00:03:29 +00:00
Check runtime name vs mangled name (#724)
This commit is contained in:
@@ -32,7 +32,7 @@ export class ApiActionDirective implements OnChanges {
|
||||
this.el.nativeElement.loading = false;
|
||||
|
||||
if (
|
||||
(e instanceof ErrorResponse || e.constructor.name === "ErrorResponse") &&
|
||||
(e instanceof ErrorResponse || e.constructor.name === ErrorResponse.name) &&
|
||||
(e as ErrorResponse).captchaRequired
|
||||
) {
|
||||
this.logService.error("Captcha required error response: " + e.getSingleMessage());
|
||||
|
||||
Reference in New Issue
Block a user