Skip to content

Commit

Permalink
fix: not awaiting for dismiss
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurgeron committed Jan 27, 2025
1 parent e1ac30a commit 092a313
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ export class ReportErrorService {
if (errorIgnoreData?.action === 'hide') {
captureException(e.error, e.extra);
}
this.dismissError(e.id).finally(() => resolve(true));
return resolve(
this.dismissError(e.id).finally(() => resolve(true))
);
})
);
}
Expand Down

0 comments on commit 092a313

Please sign in to comment.