From cbbb5069b2a03dfb36c1c3f717b564f98306b7ae Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sat, 31 Mar 2018 00:50:58 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/danog/MadelineProto/MTProtoTools/UpdateHandler.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/danog/MadelineProto/MTProtoTools/UpdateHandler.php b/src/danog/MadelineProto/MTProtoTools/UpdateHandler.php index 2b2315b8d..e70d4e7a4 100644 --- a/src/danog/MadelineProto/MTProtoTools/UpdateHandler.php +++ b/src/danog/MadelineProto/MTProtoTools/UpdateHandler.php @@ -59,6 +59,7 @@ trait UpdateHandler } }); $time = microtime(true); + try { try { $waiting = $this->datacenter->select(); @@ -75,6 +76,7 @@ trait UpdateHandler throw new \danog\MadelineProto\Exception('I had to recreate the temporary authorization key'); } } + throw new \danog\MadelineProto\RPCErrorException($error, $error); } $only_updates = $this->handle_messages($dc);