mes: Better error reporting.
[mes.git] / module / mes / catch.mes
index 31062898ceebfd6b77f57167204644ecce04f855..bc0d5dd811053e5fbb7bb1cc9ba6443b1af94364 100644 (file)
@@ -29,7 +29,7 @@
                      (display "unhandled exception:" (current-error-port))
                      (display key (current-error-port))
                      (display ":" (current-error-port))
-                     (display args (current-error-port))
+                     (write args (current-error-port))
                      (newline (current-error-port))))
                (exit 1))))