diff --git a/app/controllers/health_checks_controller.rb b/app/controllers/health_checks_controller.rb index 5283f33845cc79c18da26232e3508bc0be91b596..465e3bc209463bc2f87541a282d9005ae0fd9082 100644 --- a/app/controllers/health_checks_controller.rb +++ b/app/controllers/health_checks_controller.rb @@ -31,6 +31,7 @@ class HealthChecksController < ApplicationController render plain: response, status: :ok rescue StandardError => e + logger.error "Health check failed: #{e}" render plain: e, status: :internal_server_error end