From 453cf521d71f99f21f84fff96651c744b0f99a34 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Wed, 30 Aug 2023 23:08:45 +0200 Subject: [PATCH] Fix --- magna.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magna.php b/magna.php index 8f73a0e..3a3fa46 100755 --- a/magna.php +++ b/magna.php @@ -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;