mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-03 04:19:12 +00:00
440255 ensure 500 is logged on thrown Errors
This commit is contained in:
parent
e15a87f499
commit
caaa7c508c
@ -96,7 +96,7 @@ public class RequestLogHandler extends HandlerWrapper
|
||||
}
|
||||
catch(Error|IOException|ServletException|RuntimeException e)
|
||||
{
|
||||
if (!response.isCommitted())
|
||||
if (!response.isCommitted() && !baseRequest.getHttpChannelState().isAsync())
|
||||
response.setStatus(500);
|
||||
throw e;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user