Skip to content

Commit

Permalink
add regex to ignored errors (#2616)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkNerdi authored Jun 14, 2024
1 parent 303390e commit 9791497
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/desktop/lib/electron/utils/error.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const IGNORED_ERROR_REGEXES: RegExp[] = [
// Chromium network errors https://chromium.googlesource.com/chromium/src/+/refs/heads/main/net/base/net_error_list.h
/^net::[A-Z0-9_]*/g,
/.*neon::event::Channel::send*/,
/.*No matching key*/,
]

export function shouldReportError(error: string): boolean {
Expand Down

0 comments on commit 9791497

Please sign in to comment.