1
0
mirror of https://github.com/danog/magnaluna.git synced 2024-11-30 04:19:16 +01:00
This commit is contained in:
Daniil Gentili 2023-08-30 23:08:45 +02:00
parent f787a014cf
commit 453cf521d7

View File

@ -70,7 +70,7 @@ class MyEventHandler extends SimpleEventHandler
try {
Ogg::validateOgg($song);
} catch (Throwable $e) {
throw new AssertionError("An error occurred during validation of $song, please convert the file using convert.php or @libtgvoipbot!", 0, $e);
throw new AssertionError("An error occurred during validation of {$song->file}, please convert the file using convert.php or @libtgvoipbot!", 0, $e);
}
}
$this->songs = $songs;