Closed Erkigmo closed 1 day ago
You should never catch generic exceptions. To be honest, you should never catch NPEs either, these should be dealt with by fixing your programming errors.
In this case, though, the code is bidirectionally linked to the song, and the song has been recorded. I think this PR can't get merged anyway.
As @DanySK said. The nullpointer is part of the song, so we cannot merge this. sorry. :D
This gets rid of the nullPointerException bug, making the code a lot more 'secure and portable,' so you can run it everywhere without crashing the code. The nullPointerException still is outputed, but it is done so without causing the program flow to halt.