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 22a01e82 Minor tidyup
22a01e82 is described below

commit 22a01e82861a6d75a0c97c789e6dfd7555d029ba
Author: Sebb <s...@apache.org>
AuthorDate: Mon Apr 1 15:46:03 2024 +0100

    Minor tidyup
---
 tools/pubsub-ci-email.rb | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tools/pubsub-ci-email.rb b/tools/pubsub-ci-email.rb
index 69292343..42692eed 100755
--- a/tools/pubsub-ci-email.rb
+++ b/tools/pubsub-ci-email.rb
@@ -80,19 +80,19 @@ class PubSub
         puts stamp "Done with start" if debug
       rescue Errno::ECONNREFUSED => e
         @restartable = true
-        $stderr.puts stamp e.inspect
+        puts stamp e.inspect
         sleep 3
       rescue StandardError => e
-        $stderr.puts stamp e.inspect
-        $stderr.puts stamp e.backtrace
+        puts stamp e.inspect
+        puts stamp e.backtrace
       end
       puts stamp "Done with thread" if debug
     end # thread
     puts stamp "Pubsub thread started #{url} ..."
     ps_thread.join
-    puts stamp "Pubsub thread finished %s..." % (@updated ? '(updated) ' : '')
+    puts stamp "Pubsub thread finished %s..." % (@updated ? '(code updated) ' 
: '')
     if @restartable and ! ARGV.include? '--prompt'
-      $stderr.puts stamp 'restarting'
+      puts stamp 'restarting'
 
       # relaunch script after a one second delay
       sleep 1

Reply via email to