From 2c35f69b1cd22fe01f2dc2705b6ce411c700ae2a Mon Sep 17 00:00:00 2001 From: Tanmay Majumdar Date: Fri, 6 Dec 2024 15:18:59 +0530 Subject: [PATCH] Update WSConsume.java Ask to enable verbose logging only when its disabled. --- src/main/java/org/jboss/ws/tools/cmd/WSConsume.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/jboss/ws/tools/cmd/WSConsume.java b/src/main/java/org/jboss/ws/tools/cmd/WSConsume.java index 6ecb250d..59685829 100644 --- a/src/main/java/org/jboss/ws/tools/cmd/WSConsume.java +++ b/src/main/java/org/jboss/ws/tools/cmd/WSConsume.java @@ -275,13 +275,13 @@ private int importServices(URL wsdl) } catch (Throwable t) { - System.err.println("Error: Could not import. (use --verbose to see full traces)"); + System.err.println("Error: Could not import"); if (!verbose) { String message = t.getMessage(); if (message == null) message = t.getClass().getSimpleName(); - System.err.println("Error: " + message); + System.err.println("Error: " + message + " (use --verbose to see full traces)"); } else {