summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/Sentry.pm8
1 files changed, 8 insertions, 0 deletions
diff --git a/Bugzilla/Sentry.pm b/Bugzilla/Sentry.pm
index d0d8b68ad..b90e0732e 100644
--- a/Bugzilla/Sentry.pm
+++ b/Bugzilla/Sentry.pm
@@ -174,6 +174,14 @@ sub sentry_handle_error {
}
}
+ # invalid boolean search errors need special handling
+ if ($message =~ /selectcol_arrayref failed: syntax error/
+ && $message =~ /IN BOOLEAN MODE/
+ && $message =~ /at Bugzilla\/Search\.pm/)
+ {
+ $send_to_sentry = 0;
+ }
+
# for now, don't send patchreader errors to sentry
$send_to_sentry = 0
if $logger eq 'patchreader';