diff options
Diffstat (limited to 'src/main/java/musichub')
-rw-r--r-- | src/main/java/musichub/main/Main.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/musichub/main/Main.java b/src/main/java/musichub/main/Main.java index bbcae79..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; } @@ -258,6 +259,7 @@ public class Main { System.err.println(e.getMessage()+" Please create a file with the extension .wav inside the song folder at root of the app"); } printAvailableCommands(); + break; case 'o': //consult the app logs LogHandler.read(); |