diff options
author | Reinier Heeres <reinier@heeres.eu> | 2009-03-12 22:07:50 (GMT) |
---|---|---|
committer | Reinier Heeres <reinier@heeres.eu> | 2009-03-12 22:07:50 (GMT) |
commit | d108108718f1895d449b0dbdb85d542d8f8e5a81 (patch) | |
tree | 8d6126d62ac98f70f9ed90d2aa0e1d7372bfebfb | |
parent | e1070ebefc7252fc35c434bcd2d01b9b97adafda (diff) |
AstParser: reraise ParserError exceptions
-rw-r--r-- | astparser.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/astparser.py b/astparser.py index a33484d..3a87817 100644 --- a/astparser.py +++ b/astparser.py @@ -586,6 +586,8 @@ class AstParser: ret = self._process_node(eqn.body, state) else: ret = self._process_node(eqn, state) + except (RuntimeError, ParserError), e: + raise e except Exception, e: logging.error('Internal error (%s): %s', type(e), str(e)) msg = _('Internal error') |