forked from ChomeNS/chomens-bot-java
log exception for funni?
This commit is contained in:
parent
f9f67d45c7
commit
d618b241eb
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue