diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-04-10 04:51:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-10 04:51:08 +0200 |
commit | 694df9c1c6ec244c416c2d8e85657651b6a28dab (patch) | |
tree | 2985dfd5ed865d9b2192982196e846efc0c56656 /scripts | |
parent | 755bc194dcea3481fa41b5884a98a5aa086fe09e (diff) | |
download | bugzilla-694df9c1c6ec244c416c2d8e85657651b6a28dab.tar.gz bugzilla-694df9c1c6ec244c416c2d8e85657651b6a28dab.tar.xz |
Bug 1450679 - Replace custom Sentry integration with Logging
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/nagios_blocker_checker.pl | 4 |
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}); |