This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new acb2c97f Nodeping does not provide any detail; log it
acb2c97f is described below

commit acb2c97f679441199d2792509982310277995716
Author: Sebb <[email protected]>
AuthorDate: Mon Jan 9 17:34:11 2023 +0000

    Nodeping does not provide any detail; log it
---
 www/status/index.cgi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/www/status/index.cgi b/www/status/index.cgi
index ef20cf23..1b5dfaed 100755
--- a/www/status/index.cgi
+++ b/www/status/index.cgi
@@ -25,6 +25,8 @@ if %w(success info warning).include? status[:level]
   summary_status = "200 OK"
 else
   summary_status = "400 #{status[:title] || 'failure'}"
+  # Log error for later investigation
+  $stderr.puts JSON.pretty_generate(status)
 end
 print "Status: #{summary_status}\r\n\r\n"
 

Reply via email to