diff --git a/src/Telegram.php b/src/Telegram.php index 075b6fc6..05f0b99d 100644 --- a/src/Telegram.php +++ b/src/Telegram.php @@ -303,7 +303,7 @@ public function getCommandsList(): array } } } catch (Exception $e) { - throw new TelegramException('Error getting commands from path: ' . $path, $e); + throw new TelegramException('Error getting commands from path: ' . $path, 0, $e); } }