Skip to content

Commit f3cd211

Browse files
authored
Merge pull request #1425 from mlocati/patch-1
Fix building TelegramException in getCommandsList()
2 parents da45ae5 + b53c3a8 commit f3cd211

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Telegram.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ public function getCommandsList(): array
303303
}
304304
}
305305
} catch (Exception $e) {
306-
throw new TelegramException('Error getting commands from path: ' . $path, $e);
306+
throw new TelegramException('Error getting commands from path: ' . $path, 0, $e);
307307
}
308308
}
309309

0 commit comments

Comments
 (0)