It's all about the answers!

Ask a question

Error information returned to web ui from jazz service


Frank McGrath (242162) | asked Nov 07 '07, 2:08 p.m.
JAZZ DEVELOPER
All exceptions thrown in the server seem to return 500 errors to the web ui.
Is there a mechanism or recommended pattern to return more information?

One answer



permanent link
Christophe Elek (2.9k13021) | answered Nov 07 '07, 2:08 p.m.
JAZZ DEVELOPER
"fmcgrath" <fmcgrath@us.ibm.com> wrote in
news:fgt294$per$1@localhost.localdomain:

All exceptions thrown in the server seem to return 500 errors to the
web ui. Is there a mechanism or recommended pattern to return more
information?

There are some discussion in the WebUI about how to return info to the
client... if you cannot find them, ping me :)

IMHO, 500 cannot be handled by the client - Is it really worth to send the
whole stack trace back ?

I suggested (but not yet implemented <hint hint>) that we catch the
exception, handle them in a common page and allow the user to notify the
admin (email, send info to rest service etc..)

Also, I believe there is a way to get the server log from a Rest service,
so if a user REALLY wants to see the log, we should be able, using the same
page, to call the service from the WebUi :)

--
Christophe Elek
Serviceability Architect
IBM Software Group - Rational

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.