Skip to content

Commit 30bd0b6

Browse files
akondasifdaggerok
authored andcommitted
Stack traces should not be printed in console
1 parent 4324dcd commit 30bd0b6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.mvn/wrapper/MavenWrapperDownloader.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ public static void main(String args[]) {
9191
System.out.println("Done");
9292
System.exit(0);
9393
} catch (Throwable e) {
94-
System.out.println("- Error downloading");
95-
e.printStackTrace();
94+
System.out.println("- Error downloading: " + e.getMessage() );
9695
System.exit(1);
9796
}
9897
}

0 commit comments

Comments
 (0)