[Knobot-devel] error handling
Status: Beta
Brought to you by:
rebach
|
From: <re...@gm...> - 2007-05-08 13:35:40
|
david pointed out some problems with the error handling in KnoBot: Situation: - If an exception occurs before the body has been committed one get's an errorpage, showing both the error message and the stack-trace - If an exception occurs after the body has been committed a Jetty error page for the error "response already committed" shows up - If an exception in the transforming thread occurs, a white page is returned The first situation is what actually should happen, the template can be changed not to display the stack-trace. The latest situation should probably result n the exception being forwarded to the handler running the thread, which would usually boil it down to the problematic situation two: how to handle error when the response has already been committed. The answer might be: do it as jetty does, not sure how though.= Cheers, reto |