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 e5a79957 Identify caller
e5a79957 is described below

commit e5a79957223da108d2b21da2501d69b1dbac4060
Author: Sebb <[email protected]>
AuthorDate: Sat Feb 15 14:45:10 2025 +0000

    Identify caller
---
 www/status/index.cgi  | 2 +-
 www/status/monitor.rb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/status/index.cgi b/www/status/index.cgi
index 55a48442..4b68bd03 100755
--- a/www/status/index.cgi
+++ b/www/status/index.cgi
@@ -9,7 +9,7 @@ json = File.expand_path('../status.json', __FILE__)
 begin
   status = JSON.parse(File.read(json, encoding: Encoding::UTF_8)) 
 rescue Exception => e
-  $stderr.puts "Failed to read status.json: #{e}"
+  $stderr.puts "index.cgi: Failed to read status.json: #{e}"
   status = {}
 end
 timings = [] # more debug timing
diff --git a/www/status/monitor.rb b/www/status/monitor.rb
index 0963b3f2..0119fe89 100644
--- a/www/status/monitor.rb
+++ b/www/status/monitor.rb
@@ -48,7 +48,7 @@ class StatusMonitor
       begin
         baseline = JSON.parse(file.read, {symbolize_names: true})
       rescue Exception => e
-        $stderr.puts "Failed to read status.json: #{e}"
+        $stderr.puts "monitor: Failed to read status.json: #{e}"
         baseline = {}
       end
       timings << Time.now

Reply via email to