Skip to content

Commit

Permalink
Merge pull request #1425 from mlocati/patch-1
Browse files Browse the repository at this point in the history
Fix building TelegramException in getCommandsList()
  • Loading branch information
noplanman committed Oct 26, 2023
2 parents da45ae5 + b53c3a8 commit f3cd211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Telegram.php
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit f3cd211

Please sign in to comment.