aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/musichub/main/Main.java4
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 2394ce6..c7d6aa9 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();