diff --git a/src/main/java/land/chipmunk/chipmunkbot/song/SongLoaderThread.java b/src/main/java/land/chipmunk/chipmunkbot/song/SongLoaderThread.java index 90a14fb..f2183c2 100644 --- a/src/main/java/land/chipmunk/chipmunkbot/song/SongLoaderThread.java +++ b/src/main/java/land/chipmunk/chipmunkbot/song/SongLoaderThread.java @@ -53,8 +53,8 @@ public class SongLoaderThread extends Thread { bytes = Files.readAllBytes(songPath.toPath()); name = songPath.getName(); } - } catch (Exception exception) { - exception = new SongLoaderException(Component.text(exception.getMessage()), exception); + } catch (Exception e) { + exception = new SongLoaderException(Component.text(e.getMessage()), e); return; }