Skip to content

Commit

Permalink
ограничил макс длинну сообщения в телегу
Browse files Browse the repository at this point in the history
  • Loading branch information
mttzzz committed May 4, 2020
1 parent a54ef91 commit 1aff3ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Telegram.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ public static function log($note)
$client->get('https://api.telegram.org/bot' . $token . '/sendMessage', ['query' => $query]);
}
} catch (Exception $e) {
Telegram::log('Telegram Log DIE!!! Exception');
Telegram::log(self::stLimit($e->getMessage()));
Telegram::log('Telegram Log DIE: '. self::stLimit($e->getMessage()));

}
}
Expand Down

0 comments on commit 1aff3ca

Please sign in to comment.