From 644f2756f3f094cd8e26e604d883a61fcbdcb249 Mon Sep 17 00:00:00 2001 From: "Paul R. Tagliamonte" Date: Wed, 10 Apr 2013 21:49:27 -0400 Subject: [PATCH] Fixing the raised Exception. --- hy/compiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hy/compiler.py b/hy/compiler.py index 4187d6a..977091c 100644 --- a/hy/compiler.py +++ b/hy/compiler.py @@ -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))