diff options
author | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-06-28 17:49:20 +0200 |
---|---|---|
committer | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-06-28 17:49:20 +0200 |
commit | 70cd4d6cc54628277e77a47b86d00f7fc108a942 (patch) | |
tree | f9674fe11fc7b5c6a4d275c5bf98f31783129495 /src/main | |
parent | 20e690428d097047fbf92d97e7ed0009d56de873 (diff) |
Change out to err for the path verification error message.
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/musichub/main/Main.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/musichub/main/Main.java b/src/main/java/musichub/main/Main.java index 2949d9e..674cc7b 100644 --- a/src/main/java/musichub/main/Main.java +++ b/src/main/java/musichub/main/Main.java @@ -99,7 +99,8 @@ public class Main { if (!isPathValid(content)) { String logMsg = "The music file was not found with the path you've provided or the extension is not .wav"; LogHandler.write(logMsg, "WARNING"); //write a line in the log file - System.out.println(logMsg + "\nType h for available commands"); + System.err.println(logMsg); + System.out.println("Type h for available commands"); choice = scan.nextLine(); break; } |