Apply fixes from StyleCI
This commit is contained in:
parent
b67d876dee
commit
e02847762a
@ -327,7 +327,7 @@ Slv8kg9qv1m6XHVQY3PnEw+QQtqSIXklHwIDAQAB
|
||||
'logger_param' => '/tmp/MadelineProto.log',
|
||||
'logger' => 3, // overwrite previous setting and echo logs
|
||||
'logger_level' => Logger::VERBOSE, // Logging level, available logging levels are: ULTRA_VERBOSE, VERBOSE, NOTICE, WARNING, ERROR, FATAL_ERROR. Can be provided as last parameter to the logging function.
|
||||
'rollbar_token' => 'f9fff6689aea4905b58eec73f66c791d'
|
||||
'rollbar_token' => 'f9fff6689aea4905b58eec73f66c791d',
|
||||
],
|
||||
'max_tries' => [
|
||||
'query' => 5, // How many times should I try to call a method or send an object before throwing an exception
|
||||
|
@ -54,7 +54,9 @@ class RPCErrorException extends \Exception
|
||||
if (in_array($this->rpc, ['CHANNEL_PRIVATE'])) {
|
||||
return;
|
||||
}
|
||||
if (strpos($this->rpc, 'FLOOD_WAIT_') !== false) return;
|
||||
if (strpos($this->rpc, 'FLOOD_WAIT_') !== false) {
|
||||
return;
|
||||
}
|
||||
$additional = [];
|
||||
foreach (debug_backtrace() as $level) {
|
||||
if (isset($level['function']) && $level['function'] === 'method_call') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user