Skip to content

Commit

Permalink
Improve error messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
Raynes committed Nov 1, 2011
1 parent 88629c7 commit 4953942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tryclojure/core.clj
Expand Up @@ -137,7 +137,7 @@
(catch TimeoutException _ (catch TimeoutException _
{:error true :message "Execution Timed Out!"}) {:error true :message "Execution Timed Out!"})
(catch Exception e (catch Exception e
{:error true :message (.getMessage (root-cause e))}))) {:error true :message (str (root-cause e))})))


(defpage "/eval.json" {:keys [expr]} (defpage "/eval.json" {:keys [expr]}
(json (json
Expand Down

0 comments on commit 4953942

Please sign in to comment.