Skip to content

Commit

Permalink
allow exception messages to wrap in heads up display (bhauman#630)
Browse files Browse the repository at this point in the history
  • Loading branch information
awkay authored and Bruce Hauman committed Dec 15, 2017
1 parent 0f62d6d commit d21fb82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support/src/figwheel/client/heads_up.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@
": ") "")
"<span style=\"font-weight:bold;\">" (escape message) "</span>")
(when display-ex-data
(str "<pre>" (utils/pprint-to-string display-ex-data) "</pre>"))
(str "<pre style=\"white-space: pre-wrap\">" (utils/pprint-to-string display-ex-data) "</pre>"))
(when (pos? (count error-inline))
(format-inline-error error-inline))]
(map #(str (escape (:class %))
Expand Down

0 comments on commit d21fb82

Please sign in to comment.