474617 - AsyncListener.onError not called for errors
+ Making onError call correctly
This commit is contained in:
parent
25b692046f
commit
b522dd7fe2
|
@ -68,7 +68,7 @@ public class AsyncContextState implements AsyncContext
|
|||
@Override
|
||||
public void onError(AsyncEvent event) throws IOException
|
||||
{
|
||||
listener.onComplete(new AsyncEvent(event.getAsyncContext(),request,response,event.getThrowable()));
|
||||
listener.onError(new AsyncEvent(event.getAsyncContext(),request,response,event.getThrowable()));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue