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 2019/03/25 00:20:45 UTC

[whimsy] branch master updated: Easier to read if LOG is on separate line

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 d840233  Easier to read if LOG is on separate line
d840233 is described below

commit d8402337de3d1f919028a3e226c1c50fb4d4a5c2
Author: Sebb <se...@apache.org>
AuthorDate: Mon Mar 25 00:20:37 2019 +0000

    Easier to read if LOG is on separate line
---
 www/status/monitors/public_json.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/status/monitors/public_json.rb b/www/status/monitors/public_json.rb
index c9c9660..16138b5 100644
--- a/www/status/monitors/public_json.rb
+++ b/www/status/monitors/public_json.rb
@@ -101,7 +101,7 @@ def Monitor.public_json(previous_status)
               from 'Public JSON job monitor  <de...@whimsical.apache.org>'
               to 'Notification List <no...@whimsical.apache.org>'
               subject "Problem (#{lvl}) detected in #{name} job"
-              body "\nLOG: #{contents_save}\nSTATUS: #{status[name]}\n"
+              body "\nLOG:\n#{contents_save}\nSTATUS: #{status[name]}\n"
             end
             # in spite of what the docs say, this does not seem to work in the body above
             mail.charset = 'utf-8'