You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ch...@apache.org on 2018/12/11 14:44:24 UTC

qpid-dispatch git commit: DISPATCH-1219: Single-line parse problems are not fatal

Repository: qpid-dispatch
Updated Branches:
  refs/heads/master afda5828b -> 2bc6dfd41


DISPATCH-1219: Single-line parse problems are not fatal


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/2bc6dfd4
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/2bc6dfd4
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/2bc6dfd4

Branch: refs/heads/master
Commit: 2bc6dfd41d1d4b1a67bc8224f51205a5db628d5c
Parents: afda582
Author: Chuck Rolke <cr...@redhat.com>
Authored: Tue Dec 11 09:44:18 2018 -0500
Committer: Chuck Rolke <cr...@redhat.com>
Committed: Tue Dec 11 09:44:18 2018 -0500

----------------------------------------------------------------------
 tools/scraper/parser.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/2bc6dfd4/tools/scraper/parser.py
----------------------------------------------------------------------
diff --git a/tools/scraper/parser.py b/tools/scraper/parser.py
index bf8156b..382bf3c 100755
--- a/tools/scraper/parser.py
+++ b/tools/scraper/parser.py
@@ -959,9 +959,9 @@ def parse_log_file(fn, log_index, comn):
                 except Exception as e:
                     # t, v, tb = sys.exc_info()
                     if hasattr(e, 'message'):
-                        sys.stderr.write("Failed to parse file '%s', line %d : %s\n" % (fn, lineno, e.message))
+                        sys.stderr.write("Failed to parse file '%s', line %d : %s. Analysis continuing...\n" % (fn, lineno, e.message))
                     else:
-                        sys.stderr.write("Failed to parse file '%s', line %d : %s\n" % (fn, lineno, e))
+                        sys.stderr.write("Failed to parse file '%s', line %d : %s. Analysis continuing...\n" % (fn, lineno, e))
                 if pl is not None:
                     if pl.data.is_router_ls:
                         rtr.router_ls.append(pl)
@@ -988,9 +988,9 @@ def parse_log_file(fn, log_index, comn):
                 except Exception as e:
                     # t, v, tb = sys.exc_info()
                     if hasattr(e, 'message'):
-                        sys.stderr.write("Failed to parse file '%s', line %d : %s\n" % (fn, lineno, e.message))
+                        sys.stderr.write("Failed to parse file '%s', line %d : %s. Analysis continuing...\n" % (fn, lineno, e.message))
                     else:
-                        sys.stderr.write("Failed to parse file '%s', line %d : %s\n" % (fn, lineno, e))
+                        sys.stderr.write("Failed to parse file '%s', line %d : %s. Analysis continuing...\n" % (fn, lineno, e))
                     # raise t, v, tb
             else:
                 # ignore this log line


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org