Skip to content

Commit

Permalink
fix(rollbar): do not track errors that dont have a message
Browse files Browse the repository at this point in the history
  • Loading branch information
seiyria committed Sep 18, 2023
1 parent 8796725 commit c2e693f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/src/app/services/rollbar.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ export class RollbarErrorHandler implements ErrorHandler {
}

private isValidError(err: any): boolean {
if (!err.message) return false;

if (err.message.includes('Firebase') && err.message.includes('auth/')) {
return false;
}
Expand Down

0 comments on commit c2e693f

Please sign in to comment.