summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-04-10 04:51:08 +0200
committerGitHub <noreply@github.com>2018-04-10 04:51:08 +0200
commit694df9c1c6ec244c416c2d8e85657651b6a28dab (patch)
tree2985dfd5ed865d9b2192982196e846efc0c56656 /scripts
parent755bc194dcea3481fa41b5884a98a5aa086fe09e (diff)
downloadbugzilla-694df9c1c6ec244c416c2d8e85657651b6a28dab.tar.gz
bugzilla-694df9c1c6ec244c416c2d8e85657651b6a28dab.tar.xz
Bug 1450679 - Replace custom Sentry integration with Logging
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/nagios_blocker_checker.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/nagios_blocker_checker.pl b/scripts/nagios_blocker_checker.pl
index 0a9ec96b6..a02a1602a 100755
--- a/scripts/nagios_blocker_checker.pl
+++ b/scripts/nagios_blocker_checker.pl
@@ -12,10 +12,10 @@ use warnings;
use lib qw(. lib local/lib/perl5);
use Bugzilla;
+use Bugzilla::Logging;
use Bugzilla::Constants;
use Bugzilla::Product;
use Bugzilla::User;
-use Bugzilla::Sentry;
use Getopt::Long;
use English qw(-no_match_vars);
@@ -141,7 +141,7 @@ try {
# nagios check does no good, we terminate if we stick around too long.
local $SIG{ALRM} = sub {
my $message = "$PROGRAM_NAME ran for longer than $config->{max_runtime} seconds and was auto-terminated.";
- sentry_handle_error('error', $message);
+ FATAL($message);
die "$message\n";
};
alarm($config->{max_runtime});