From f54ea5bdd65bb49c7bdc2f3c953dd250ae7d088e Mon Sep 17 00:00:00 2001 From: RPJosh Date: Sun, 10 Apr 2022 09:36:57 +0200 Subject: [PATCH] Write errors to stderr --- build.gradle | 4 ++-- src/main/java/de/rpjosh/installer/Logger.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index a953284..50166cf 100644 --- a/build.gradle +++ b/build.gradle @@ -6,8 +6,8 @@ plugins { // Set version of programm // -version = "1.0.1" -def version = "1.0.1" +version = "1.0.2" +def version = "1.0.2" group = "de.rpjosh" diff --git a/src/main/java/de/rpjosh/installer/Logger.java b/src/main/java/de/rpjosh/installer/Logger.java index f591f66..4a6edaf 100644 --- a/src/main/java/de/rpjosh/installer/Logger.java +++ b/src/main/java/de/rpjosh/installer/Logger.java @@ -33,7 +33,7 @@ public class Logger { if (v.equals("w")) System.out.println("[W] " + commandLine); - if (v.equals("e")) System.out.println("[E] " + commandLine); + if (v.equals("e")) System.err.println("[E] " + commandLine); }