This commit is contained in:
Chayapak 2023-07-28 09:37:19 +07:00
parent 325a7c2507
commit 31f7f80675

View file

@ -122,7 +122,7 @@ false
}
} catch (MalformedURLException e) {
return Component.text("Invalid URL").color(NamedTextColor.RED);
} catch (ArrayIndexOutOfBoundsException e) {
} catch (IndexOutOfBoundsException e) {
return Component.text("Song not found").color(NamedTextColor.RED);
} catch (Exception e) {
return Component.text(e.toString()).color(NamedTextColor.RED);