474617 - AsyncListener.onError not called for errors

+ Making onError call correctly
This commit is contained in:
Joakim Erdfelt 2015-08-10 07:53:56 -07:00
parent 25b692046f
commit b522dd7fe2
1 changed files with 1 additions and 1 deletions

View File

@ -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