-
I've implemented custom error pages for dashboard and I've caught all error (not only exceptions) and displayed them in a proper way (custom HTML web page if HTML is accepted response according to the request).
It now reports, error code, error reason, error message (if exception) and stacktrace (full) available (unpacked from wrapping exceptions if it was wrapped.
Please review results, but I think it works better now.
Additionally, if provided field parameter will not pass validation (regex or will throw
ValidationException
) error message will be properly displayed and could indicate field that had incorrect value. -
Type |
Improvement
|
Priority |
Normal
|
Assignee | |
Version |
none
|
Sprints |
n/a
|
Customer |
n/a
|
Iterations
-
tigase-server-8.5.0 Open
Issue Votes (0)
TigaseStringprepException: Illegal characters in string, localpart = vishal@chat4.im
but onlyjava.lang.reflect.InvocationTargetException
was displayed -- possibly usetigase.util.ExceptionUtilities#getExceptionRootCause
)