Skip to content

Commit

Permalink
Merge pull request #4623 from pulibrary/4565-remove-alert-health-check
Browse files Browse the repository at this point in the history
Remove honeybadger alert from health check
  • Loading branch information
christinach authored Dec 11, 2024
2 parents d09d3a7 + e3f2dfb commit 0d924a2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions config/initializers/health_monitor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@
config.path = :health

config.error_callback = proc do |e|
unless e.is_a?(HealthMonitor::Providers::FileAbsenceException)
Rails.logger.error "Health check failed with: #{e.message}"
Honeybadger.notify(e)
end
Rails.logger.error "Health check failed with: #{e.message}" unless e.is_a?(HealthMonitor::Providers::FileAbsenceException)
end
end
end

0 comments on commit 0d924a2

Please sign in to comment.