You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2022/05/22 00:13:41 UTC
[whimsy] branch master updated: Show error on stderr as well
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 984f92cd Show error on stderr as well
984f92cd is described below
commit 984f92cd9edb8923a3d011a882f9e44a4b882cba
Author: Sebb <se...@apache.org>
AuthorDate: Sun May 22 01:13:36 2022 +0100
Show error on stderr as well
---
tools/site-scan.rb | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/site-scan.rb b/tools/site-scan.rb
index b5b3e4d8..6940e17a 100755
--- a/tools/site-scan.rb
+++ b/tools/site-scan.rb
@@ -192,6 +192,7 @@ def exec_with_timeout(cmd, timeout)
# Try to determine why the kill does not tidy the chrome processes
# Also whether a kill was actually issued!
puts "ERR: timeout scanning #{cmd[-1]}"
+ $stderr.puts "ERR: timeout scanning #{cmd[-1]}"
stderr = 'Timeout'
Process.kill(-9, pid)
Process.detach(pid)