Apply fixes from StyleCI
This commit is contained in:
parent
e82f6fd0ba
commit
ab0e0f06dd
@ -185,7 +185,9 @@ trait CallHandler
|
|||||||
} catch (\danog\MadelineProto\NothingInTheSocketException $e) {
|
} catch (\danog\MadelineProto\NothingInTheSocketException $e) {
|
||||||
$last_error = 'Nothing in the socket';
|
$last_error = 'Nothing in the socket';
|
||||||
\danog\MadelineProto\Logger::log(['An error getting response of method '.$method.': '.$e->getMessage().' in '.basename($e->getFile(), '.php').' on line '.$e->getLine().'. Retrying...'], \danog\MadelineProto\Logger::WARNING);
|
\danog\MadelineProto\Logger::log(['An error getting response of method '.$method.': '.$e->getMessage().' in '.basename($e->getFile(), '.php').' on line '.$e->getLine().'. Retrying...'], \danog\MadelineProto\Logger::WARNING);
|
||||||
if ($this->is_http($aargs['datacenter'])) $this->close_and_reopen($aargs['datacenter']);
|
if ($this->is_http($aargs['datacenter'])) {
|
||||||
|
$this->close_and_reopen($aargs['datacenter']);
|
||||||
|
}
|
||||||
continue; //2;
|
continue; //2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user