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 { try {
song = MidiConverter.getSongFromBytes(bytes, name, bot); song = MidiConverter.getSongFromBytes(bytes, name, bot);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace();
} }
if (song == null) { if (song == null) {
try { try {
song = NBSConverter.getSongFromBytes(bytes, name, bot); song = NBSConverter.getSongFromBytes(bytes, name, bot);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace();
} }
} }