Reconnect on NothinInTheSocketExceptions

This commit is contained in:
Daniil Gentili 2018-02-28 20:32:06 +00:00
parent d015455d90
commit 3fc6fe922e

View File

@ -172,7 +172,7 @@ trait CallHandler
continue;
} catch (\danog\MadelineProto\NothingInTheSocketException $e) {
\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);
continue;
continue 2;
}
}
if ($canunset) {