Fixing the raised Exception.

This commit is contained in:
Paul R. Tagliamonte 2013-04-10 21:49:27 -04:00
parent 1adf64839a
commit 644f2756f3

View File

@ -134,7 +134,7 @@ class HyASTCompiler(object):
exception=e,
start_line=getattr(e, "start_line", 0),
start_column=getattr(e, "start_column", 0))
raise
raise HyCompileError(exception=e)
raise HyCompileError(
"Unknown type - `%s' - %s" % (str(type(tree)), tree))