From 70cd4d6cc54628277e77a47b86d00f7fc108a942 Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Mon, 28 Jun 2021 17:49:20 +0200 Subject: Change out to err for the path verification error message. --- src/main/java/musichub/main/Main.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main') 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; } -- cgit v1.2.3