Skip to content

Commit

Permalink
feat(web): Return proper json from the RequestSheddingFilter (#1350)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajordens committed Sep 21, 2020
1 parent edd7ad7 commit 7ebdcd7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -135,7 +135,7 @@ protected void doFilter(
response.setStatus(SERVICE_UNAVAILABLE.value());
response
.getWriter()
.write("{\"message\": \"Low priority requests are not currently being accepted\"");
.write("{\"message\": \"Low priority requests are not currently being accepted\"}");
return;
}
log.debug("Dice roll prevented low priority request shedding: {}", request.getRequestURI());
Expand Down

0 comments on commit 7ebdcd7

Please sign in to comment.