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 2020/06/25 22:52:11 UTC

[whimsy] branch master updated: Show error message

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 979e940  Show error message
979e940 is described below

commit 979e9409fd0a7c8dcb18756bbb114aa2ce30bc6d
Author: Sebb <se...@apache.org>
AuthorDate: Thu Jun 25 23:52:02 2020 +0100

    Show error message
---
 www/officers/coi.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/officers/coi.cgi b/www/officers/coi.cgi
index f0558aa..9bd3152 100755
--- a/www/officers/coi.cgi
+++ b/www/officers/coi.cgi
@@ -68,7 +68,7 @@ def get_affirmed_template(user, password, name, timestamp)
        Metadata: _______________Whimsy www/officers/coi.cgi________________'
   template, err =
     ASF::SVN.svn('cat', COI_CURRENT_TEMPLATE_URL, {user: $USER, password: $PASSWORD})
-  raise RuntimeError.new("Failed to read current template.txt") if err
+  raise RuntimeError.new("Failed to read current template.txt -- %s" % err) if err
   centered_name = "#{name}".center(60, '_')
   centered_date ="#{timestamp}".center(61, '_')
   filled_signature_block = signature_block