subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1823998 - /subversion/trunk/tools/dist/backport/status.py
Date Mon, 12 Feb 2018 16:09:28 GMT
Author: danielsh
Date: Mon Feb 12 16:09:28 2018
New Revision: 1823998

URL: http://svn.apache.org/viewvc?rev=1823998&view=rev
Log:
* tools/dist/backport/status.py
  (StatusFile._parse): Print the caught exception.

Modified:
    subversion/trunk/tools/dist/backport/status.py

Modified: subversion/trunk/tools/dist/backport/status.py
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/dist/backport/status.py?rev=1823998&r1=1823997&r2=1823998&view=diff
==============================================================================
--- subversion/trunk/tools/dist/backport/status.py (original)
+++ subversion/trunk/tools/dist/backport/status.py Mon Feb 12 16:09:28 2018
@@ -194,10 +194,10 @@ class StatusFile:
         try:
           entry = StatusEntry(para_text, status_file=self)
           kind = Kind.nomination
-        except ParseException:
+        except ParseException as e:
           kind = Kind.unknown
-          logger.warning("Failed to parse entry {!r} in {!r}".format(
-                          para_text, status_fp))
+          logger.warning("Failed to parse entry {!r} in {!r}: {}".format(
+                          para_text, status_fp, e))
       else:
         kind = Kind.preamble
 



Mime
View raw message