aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/lux/host/jvm.lux1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/lux/host/jvm.lux b/source/lux/host/jvm.lux
index 57d0e9c5d..cb818eb2b 100644
--- a/source/lux/host/jvm.lux
+++ b/source/lux/host/jvm.lux
@@ -256,6 +256,7 @@
(_jvm_invokevirtual "java.lang.Throwable" "getStackTrace" [] t []))
(def #export (throwable->text t)
+ (-> (^ java.lang.Throwable) Text)
($ text:++
(_jvm_invokevirtual "java.lang.Object" "toString" [] t [])
"\n"