Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Print exceptions

  • Loading branch information...
commit 560f60cf7249bfe14a66bf868fb2965c2183264e 1 parent 489d426
@dcramer authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 parser.py
View
5 parser.py
@@ -221,11 +221,12 @@ def begin(self):
if not tokens:
continue
-
+
date = ' '.join(broken[0:2])
try:
date = datetime.datetime.strptime(date, '%Y-%m-%d %H:%M:%S')
- except:
+ except Exception, exc:
+ print exc
continue
if tokens[0].startswith('<') or tokens[0].startswith('/') or tokens[0].startswith('*'):
Please sign in to comment.
Something went wrong with that request. Please try again.