Skip to content

Commit

Permalink
Improve error renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Aug 31, 2022
1 parent cfac8db commit 2cb9e7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scittle/impl/error.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@
(when-let [m (.-message e)]
(println (str "Message: " m)))
(when-let [d (ex-data (ex-cause e) #_(.getCause e))]
(print (str "Data: "))
(prn d))
(println (str "Data: ")
(pr-str d)))
(let [{:keys [:file :line :column]} d]
(when line
(println (str "Location: "
Expand Down

0 comments on commit 2cb9e7d

Please sign in to comment.