Permalink
Browse files

* src/tryclojure/core.clj: Fixed error messages.

  • Loading branch information...
1 parent 546eb9b commit d478c5a7af7c38bb24c14b45520a22dde586f439 @Raynes committed Jun 2, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/tryclojure/core.clj
View
@@ -10,6 +10,8 @@
(:import java.io.StringWriter
java.util.concurrent.TimeoutException))
+(enable-security-manager)
+
(def sandbox-tester
(extend-tester secure-tester
(whitelist
@@ -50,7 +52,7 @@
"use is safe and should be whitelisted, please file an issue at "
"http://github.com/Raynes/tryclojure/issues or mention it to Raynes on the "
"#clojure or #clojure-casual IRC channels on the FreeNode network.")
- (str e))
+ (str (root-cause e)))
history])
(catch Exception e [(str (root-cause e)) history]))]
result))

0 comments on commit d478c5a

Please sign in to comment.