Skip to content

Commit

Permalink
awsGH-577 Ensure listeners are notified after dispatch
Browse files Browse the repository at this point in the history
Resolves aws#577
  • Loading branch information
olegz committed Jun 14, 2023
1 parent 54659f0 commit 071f7d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ public void dispatch() {
throw new IllegalStateException("Dispatching already started");
}
dispatched.set(true);
notifyListeners(NotificationType.START_ASYNC, null);
handler.doFilter(req, res, ((AwsServletContext)req.getServletContext()).getServletForPath(req.getRequestURI()));
notifyListeners(NotificationType.START_ASYNC, null);
} catch (ServletException | IOException e) {
notifyListeners(NotificationType.ERROR, e);
}
Expand Down

0 comments on commit 071f7d3

Please sign in to comment.