diff --git a/extensions/vertx-http/deployment/src/main/java/io/quarkus/vertx/http/deployment/devmode/HttpRemoteDevClientProvider.java b/extensions/vertx-http/deployment/src/main/java/io/quarkus/vertx/http/deployment/devmode/HttpRemoteDevClientProvider.java index f9884b031d8d6..b279ae15ca9f8 100644 --- a/extensions/vertx-http/deployment/src/main/java/io/quarkus/vertx/http/deployment/devmode/HttpRemoteDevClientProvider.java +++ b/extensions/vertx-http/deployment/src/main/java/io/quarkus/vertx/http/deployment/devmode/HttpRemoteDevClientProvider.java @@ -28,9 +28,8 @@ public Optional getClient() { return Optional.empty(); } if (!liveReloadConfig.password.isPresent()) { - log.warn( + throw new RuntimeException( "Live reload URL set but no password, remote dev requires a password, set quarkus.live-reload.password on both server and client"); - return Optional.empty(); } return Optional.of(new HttpRemoteDevClient(liveReloadConfig.url.get(), liveReloadConfig.password.get())); }