Skip to content

Commit

Permalink
Merge pull request quarkusio#43376 from geoand/quarkusio#43373
Browse files Browse the repository at this point in the history
Properly fail when both http and https servers started on port
  • Loading branch information
geoand authored Sep 19, 2024
2 parents 95ef24c + 6036d3c commit 1c8464b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1375,7 +1375,8 @@ public void handle(AsyncResult<HttpServer> event) {

private void validateHttpPorts(int httpPort, int httpsPort) {
if (httpsPort == httpPort) {
throw new IllegalArgumentException("Both http and https servers started on port " + httpPort);
startFuture
.fail(new IllegalArgumentException("Both http and https servers started on port " + httpPort));
}
}
});
Expand Down

0 comments on commit 1c8464b

Please sign in to comment.