mirror of
https://github.com/bitwarden/browser
synced 2026-02-09 21:20:27 +00:00
[PM-19814] Remove logic for handling authentication since the endpoint will be unauthenticated.
This commit is contained in:
@@ -189,18 +189,8 @@ export class PhishingDetectionService {
|
||||
);
|
||||
} catch (error) {
|
||||
this.logService.error("Error details:", error);
|
||||
if (
|
||||
error?.message?.includes("Access token not found") ||
|
||||
error?.message?.includes("Failed to decode access token")
|
||||
) {
|
||||
this.logService.info(
|
||||
"Authentication required for phishing domain update, will retry when authenticated",
|
||||
);
|
||||
this.scheduleRetry();
|
||||
} else {
|
||||
PhishingDetectionService.logService.error("Failed to update phishing domains:", error);
|
||||
throw error;
|
||||
}
|
||||
|
||||
this.scheduleRetry();
|
||||
} finally {
|
||||
this.isUpdating = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user