Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReinier Heeres <reinier@heeres.eu>2009-03-12 22:07:50 (GMT)
committer Reinier Heeres <reinier@heeres.eu>2009-03-12 22:07:50 (GMT)
commitd108108718f1895d449b0dbdb85d542d8f8e5a81 (patch)
tree8d6126d62ac98f70f9ed90d2aa0e1d7372bfebfb
parente1070ebefc7252fc35c434bcd2d01b9b97adafda (diff)
AstParser: reraise ParserError exceptions
-rw-r--r--astparser.py2
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')