Skip to content
Snippets Groups Projects
Unverified Commit b85696a0 authored by Ahmad Farhat's avatar Ahmad Farhat Committed by GitHub
Browse files

Added logger to health check (#5357)

parent faa6c810
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment