QueryServlet: Add "host" (remote address) to alerts

This commit is contained in:
Gian Merlino 2013-01-25 11:03:44 -08:00
parent ec034ddef4
commit 37417cf22f
1 changed files with 1 additions and 0 deletions

View File

@ -148,6 +148,7 @@ public class QueryServlet extends HttpServlet
ImmutableMap.<String, Object>builder() ImmutableMap.<String, Object>builder()
.put("exception", e.toString()) .put("exception", e.toString())
.put("query", queryString) .put("query", queryString)
.put("host", req.getRemoteAddr())
.build() .build()
) )
); );