whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Drop temp debug code
Date Mon, 05 Oct 2020 17:01:13 GMT
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 2030a82  Drop temp debug code
2030a82 is described below

commit 2030a82eb6380ba013835301062b02d56788082e
Author: Sebb <sebb@apache.org>
AuthorDate: Mon Oct 5 18:01:02 2020 +0100

    Drop temp debug code
---
 lib/whimsy/logparser.rb | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/lib/whimsy/logparser.rb b/lib/whimsy/logparser.rb
index 1017ae5..9d4d983 100755
--- a/lib/whimsy/logparser.rb
+++ b/lib/whimsy/logparser.rb
@@ -225,11 +225,9 @@ module LogParser
   def get_errors(current, dir: ERROR_LOG_DIR)
     if current
       whimsy_log = latest(File.join(dir, 'whimsy_error.log*'))
-      puts whimsy_log
       logs = LogParser.parse_whimsy_error(whimsy_log)
-      # error_log = latest(File.join(dir, 'error?log*'))
-      # puts error_log
-      # LogParser.parse_error_log(error_log, logs) if error_log
+      error_log = latest(File.join(dir, 'error?log*'))
+      LogParser.parse_error_log(error_log, logs) if error_log
     else
       logs = LogParser.parse_whimsy_errors(dir)
       LogParser.parse_error_logs(dir, logs)


Mime
View raw message