diff --git a/core/deployment/src/main/java/io/quarkus/deployment/console/ConsoleProcessor.java b/core/deployment/src/main/java/io/quarkus/deployment/console/ConsoleProcessor.java index ee2838f9481773..77ebdfd3a57acb 100644 --- a/core/deployment/src/main/java/io/quarkus/deployment/console/ConsoleProcessor.java +++ b/core/deployment/src/main/java/io/quarkus/deployment/console/ConsoleProcessor.java @@ -142,7 +142,7 @@ public void accept(Throwable throwable, StackTraceElement stackTraceElement) { } exceptionsConsoleContext.reset( - new ConsoleCommand('x', "Open last exception in IDE", new ConsoleCommand.HelpState(new Supplier() { + new ConsoleCommand('x', "Open last exception (or project) in IDE", new ConsoleCommand.HelpState(new Supplier() { @Override public String get() { return MessageFormat.RED; @@ -161,6 +161,7 @@ public String get() { public void run() { StackTraceElement throwable = lastUserCode.get(); if (throwable == null) { + launchInIDE(ideSupport.getIde(), List.of(".")); return; } String className = throwable.getClassName();