Clojure

clojure.test does not print ex-info in error reports

Details

  • Type: Enhancement Enhancement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Patch:
    Code
  • Approval:
    Triaged

Description

clojure.test does not print the data attached to ExceptionInfo in error reports.

Approach: In clojure.stacktrace, which clojure.test uses for printing exceptions, add a check for ex-data and pr it.

Patch: 0002-CLJ-1209-show-ex-data-in-clojure-test.patch

Activity

Hide
Alex Miller added a comment -

Great idea, thx for the patch!

Show
Alex Miller added a comment - Great idea, thx for the patch!
Hide
Alex Miller added a comment -

Would be great to see a before and after example of the output.

Show
Alex Miller added a comment - Would be great to see a before and after example of the output.

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated: