Navigation Menu

Skip to content

Commit

Permalink
Improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jfarcand committed Jun 30, 2014
1 parent 15a9eff commit 8c07e2d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -125,7 +125,7 @@ Action action(AtmosphereRequest req, AtmosphereResponse res) throws IOException,

// https://github.com/Atmosphere/atmosphere/issues/1637
if (isServlet30 && (!req.isAsyncSupported() && !Utils.closeMessage(req))) {
logger.error("Invalid request state. AsyncContext#startAsync not supported. Make sure async-supported is set to true in web.xml");
logger.error("Invalid request state. AsyncContext#startAsync not supported. Make sure async-supported is set to true in web.xml {}", req.getRequestURL().toString());
res.setStatus(501);
res.addHeader(X_ATMOSPHERE_ERROR, "AsyncContext not enabled");
res.flushBuffer();
Expand Down

0 comments on commit 8c07e2d

Please sign in to comment.