From 636ca43ddfe4b45a815ee12e2fac6ff7f63a84e1 Mon Sep 17 00:00:00 2001 From: Alexandr Mazur Date: Fri, 5 Jul 2019 19:24:39 +0300 Subject: [PATCH] Change curl_exec($ch) call to Curl\Util::execute($ch) call, according to pull request. --- src/Monolog/Handler/TelegramBotHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Monolog/Handler/TelegramBotHandler.php b/src/Monolog/Handler/TelegramBotHandler.php index 8c532164..34a87da5 100644 --- a/src/Monolog/Handler/TelegramBotHandler.php +++ b/src/Monolog/Handler/TelegramBotHandler.php @@ -80,7 +80,7 @@ class TelegramBotHandler extends AbstractProcessingHandler 'chat_id' => $this->channel, ])); - $result = curl_exec($ch); + $result = Curl\Util::execute($ch); $result = json_decode($result, true); if ($result['ok'] === false) {