aboutsummaryrefslogtreecommitdiff
path: root/luxc/src
diff options
context:
space:
mode:
Diffstat (limited to 'luxc/src')
-rw-r--r--luxc/src/lux/compiler.clj3
1 files changed, 2 insertions, 1 deletions
diff --git a/luxc/src/lux/compiler.clj b/luxc/src/lux/compiler.clj
index d8c5e4571..1c04df819 100644
--- a/luxc/src/lux/compiler.clj
+++ b/luxc/src/lux/compiler.clj
@@ -265,4 +265,5 @@
(&&cache/clean ?state))
(&/$Left ?message)
- (assert false ?message)))))
+ (do (&/|log! (str "Compilation failed:\n" ?message))
+ (System/exit 1))))))