jooapa / jammer

light-weight TUI music player with Soundcloud & Youtube built-in. Effects, Themes, Midi Support for Win & Linux
Other
86 stars 5 forks source link

Fixed breaking exception with Debug arg #88

Closed dddmaster closed 3 months ago

dddmaster commented 3 months ago

If the -D Debug arg is present and the default folder for jammer doesnt exist the application will throw an uncaught exception. This fix will catch the exception and add it to the debug output.

how to reproduce on linux:

mv ~/jammer ~/jammer_bak jammer -D 🔥 🔥 🔥