Reduce logging to a minimum (#120)
This commit is contained in:
parent
8b3b4b0bb5
commit
88fb5ecfb7
@ -52,7 +52,7 @@ trait CallHandler
|
|||||||
}
|
}
|
||||||
for ($count = 1; $count <= $this->settings['max_tries']['query']; $count++) {
|
for ($count = 1; $count <= $this->settings['max_tries']['query']; $count++) {
|
||||||
try {
|
try {
|
||||||
\danog\MadelineProto\Logger::log(['Calling method (try number '.$count.' for '.$method.')...'], \danog\MadelineProto\Logger::VERBOSE);
|
\danog\MadelineProto\Logger::log(['Calling method (try number '.$count.' for '.$method.')...'], \danog\MadelineProto\Logger::ULTRA_VERBOSE);
|
||||||
|
|
||||||
$message_id = $this->send_message($serialized, $content_related, $aargs);
|
$message_id = $this->send_message($serialized, $content_related, $aargs);
|
||||||
if ($method === 'http_wait' || (isset($aargs['noResponse']) && $aargs['noResponse'])) {
|
if ($method === 'http_wait' || (isset($aargs['noResponse']) && $aargs['noResponse'])) {
|
||||||
|
Loading…
Reference in New Issue
Block a user