Skip to content

Commit

Permalink
fixes #119 Status being overwritten by new implementation of setExcha…
Browse files Browse the repository at this point in the history
…ngeStatus (#120)
  • Loading branch information
stevehu committed Dec 30, 2019
1 parent 1ea5b46 commit ce68173
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public void handleRequest(final HttpServerExchange exchange) throws Exception {
}
Status status = requestValidator.validateRequest(requestPath, exchange, openApiOperation);
if(status != null) {
setExchangeStatus(exchange, status.getCode());
setExchangeStatus(exchange, status);
if(config.logError) logger.error("ValidationError:" + status.toString());
return;
}
Expand Down

0 comments on commit ce68173

Please sign in to comment.