You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by Sebastian Bazley <se...@apache.org> on 2016/03/14 00:52:36 UTC

[whimsy.git] [1/1] Commit 4ac7bcc: A bit more detail in the error message

Commit 4ac7bccc24514bb966d5363702ac794ac09fd43b:
    A bit more detail in the error message


Branch: refs/heads/master
Author: Sebb <se...@apache.org>
Committer: Sebb <se...@apache.org>
Pusher: sebb <se...@apache.org>

------------------------------------------------------------
tools/collate_minutes.rb                                     | ++++ -
------------------------------------------------------------
5 changes: 4 additions, 1 deletions.
------------------------------------------------------------


diff --git a/tools/collate_minutes.rb b/tools/collate_minutes.rb
index c8fd817..4b0af03 100755
--- a/tools/collate_minutes.rb
+++ b/tools/collate_minutes.rb
@@ -10,7 +10,8 @@
 # for monitoring purposes
 at_exit do
   if $! and not $!.instance_of? SystemExit
-    puts "\n*** Exception #{$!.class} ***"
+    msg = "#{$!.backtrace.first} #{$!.message}" rescue $!
+    puts "\n*** Exception #{$!.class} : #{msg} ***"
   end
 end
 
@@ -768,6 +769,8 @@ def layout(title = nil)
 
 open("#{SITE_MINUTES}/index.html", 'w') {|file| file.write page}
 
+print("Wrote #{SITE_MINUTES}/index.html\n")
+
 if `hostname`.strip == 'rubix'
   system "rsync -av #{SITE_MINUTES}/ " +
     "people.apache.org:public_html/board/minutes/"