Test uncaught throw, catchless try* . Fix 46 impls.
[jackhill/mal.git] / groovy / step5_tco.groovy
index 50f4673..a487365 100644 (file)
@@ -106,7 +106,7 @@ while (true) {
     try {
         println REP(line)
     } catch(MalException ex) {
-        println "Error: ${ex.message}"
+        println "Error: ${printer.pr_str(ex.obj, true)}"
     } catch(StackOverflowError ex) {
         println "Error: ${ex}"
     } catch(ex) {