Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 6.1.26
-
Fix Version/s: 6.1.27
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
As reported in jetty-user...
Hi everybody,
I am missing nested exceptions in the logs printed out by jetty (ver 6.1.23 - actually I'm not missing exceptions at all, but... ![]()
Looking closer to the problem I found that for instant nested RuntimeExceptions are not logged. It seems to me that
org.mortbay.log.Log::unwind() considers only nested exceptions that contain one of the following methods:
private static final String[] __nestedEx =
;
However java.lang.RuntimeException only supports getCause() which is missing in this list.
Is there a reason why getCause() is not considered?
Thanks in advance and best regards,
Udo
u.offermann@gmail.com
Activity
Greg Wilkins
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Fix Version/s | 6.1.27 [ 17238 ] | |
| Resolution | Fixed [ 1 ] |
added getCause to the list.
Note in jetty-7 getCause is the only method consulted as it replaces all those specific methods