Export to GitHub

hamcrest - issue #200

Errors from String.valueOf() in BaseDescription makes some Exceptions un-reportable.


Posted on Jul 24, 2013 by Swift Monkey

Issue 184 addressed this problem for Exceptions from String.valueOf() in BaseDescription.appendValue, but if the Exception is actually an Error (ExpectationError in my case), then the same problem still exists.

Suggested fix is to change line 64 of BaseDescription.java from catch (Exception) to catch (Throwable).

Thanks,

Comment #1

Posted on Aug 19, 2013 by Massive Hippo

(No comment was entered for this change.)

Status: New

Labels:
Java