ollie314 / hamcrest

Automatically exported from code.google.com/p/hamcrest
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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,

Original issue reported on code.google.com by chris.h...@hcs.us.com on 24 Jul 2013 at 3:14

GoogleCodeExporter commented 8 years ago

Original comment by t.denley on 19 Aug 2013 at 10:16