log exception for funni?

This commit is contained in:
Chayapak 2023-04-22 20:18:28 +07:00
parent f9f67d45c7
commit d618b241eb

View file

@ -58,12 +58,14 @@ public class SongLoaderThread extends Thread {
try {
song = MidiConverter.getSongFromBytes(bytes, name, bot);
} catch (Exception e) {
e.printStackTrace();
}
if (song == null) {
try {
song = NBSConverter.getSongFromBytes(bytes, name, bot);
} catch (Exception e) {
e.printStackTrace();
}
}