Skip to content

Commit

Permalink
awsGH-577 Ensuree 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 a85598f commit 996e00a
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 996e00a

Please sign in to comment.