Purple-Devs / health_check

Simple health check of Rails app for use with uptime checking sites like newrelic and pingdom
MIT License
476 stars 125 forks source link

fix: callbacks on_success and on_failure not being called #146

Open ArmandoAssuncao opened 4 months ago

ArmandoAssuncao commented 3 months ago

Meanwhile use:

config.failure_callbacks ||= []
config.failure_callbacks << lambda do |checks, msg|
  # code
end