mirror of
https://github.com/bitwarden/browser.git
synced 2025-04-06 18:47:05 +02:00
AC-2723 Defect Range Too large error toast on reporting events is not being displayed (#9478)
This commit is contained in:
parent
c06211829f
commit
47e66bfeb4
@ -97,19 +97,15 @@ export abstract class BaseEventsComponent {
|
||||
this.loading = true;
|
||||
let events: EventView[] = [];
|
||||
let promise: Promise<any>;
|
||||
try {
|
||||
promise = this.loadAndParseEvents(
|
||||
dates[0],
|
||||
dates[1],
|
||||
clearExisting ? null : this.continuationToken,
|
||||
);
|
||||
promise = this.loadAndParseEvents(
|
||||
dates[0],
|
||||
dates[1],
|
||||
clearExisting ? null : this.continuationToken,
|
||||
);
|
||||
|
||||
const result = await promise;
|
||||
this.continuationToken = result.continuationToken;
|
||||
events = result.events;
|
||||
} catch (e) {
|
||||
this.logService.error(`Handled exception: ${e}`);
|
||||
}
|
||||
const result = await promise;
|
||||
this.continuationToken = result.continuationToken;
|
||||
events = result.events;
|
||||
|
||||
if (!clearExisting && this.events != null && this.events.length > 0) {
|
||||
this.events = this.events.concat(events);
|
||||
|
Loading…
Reference in New Issue
Block a user