Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mttzzz committed Apr 24, 2020
1 parent 3e7ae5d commit 1a26965
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Telegram.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,6 @@ public static function log($note)
}
$client->get('https://api.telegram.org/bot' . $token . '/sendMessage', ['query' => $query]);
}
} catch (ClientException $e) {
Telegram::log('Telegram Log DIE!!! ClientException');
Telegram::log($e->getResponse()->getBody()->getContents());
} catch (ServerException $e) {
Telegram::log('Telegram Log DIE!!!ServerException');
Telegram::log($e->getRequest()->getBody()->getContents());
} catch (Exception $e) {
Telegram::log('Telegram Log DIE!!! Exception');
Telegram::log($e->getMessage());
Expand Down

0 comments on commit 1a26965

Please sign in to comment.