Skip to content

Commit

Permalink
Fixes #1099, wrong response code if compile fails
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartwdouglas committed Feb 28, 2019
1 parent f608c3c commit 62ab2b4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ public class ReplacementDebugPage {
"</style>";

public static void handleRequest(HttpServerExchange exchange, final Throwable exception) throws IOException {
exchange.setStatusCode(500);
StringBuilder sb = new StringBuilder();
//todo: make this good
sb.append("<html><head><title>ERROR</title>");
Expand Down

0 comments on commit 62ab2b4

Please sign in to comment.