diff --git a/docs b/docs index f94e94f9a..6df8ad8cf 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit f94e94f9a9f94add50000d0f3d5ae4e7f29cc575 +Subproject commit 6df8ad8cf2859557125197b1c467ea667f1fbef4 diff --git a/src/MTProtoTools/Files.php b/src/MTProtoTools/Files.php index 2299e12d6..d6af55814 100644 --- a/src/MTProtoTools/Files.php +++ b/src/MTProtoTools/Files.php @@ -365,17 +365,16 @@ trait Files $d->complete(); return; } catch (FloodPremiumWaitError $e) { - $this->logger("Got {$e->rpc} while uploading $part_num: {$datacenter}, waiting and retrying..."); + $this->logger("Got {$e->rpc} while uploading part $part_num: {$datacenter}, waiting and retrying..."); $floodWaitError = $e; $writePromise = async($writeCb); } catch (FileRedirect $e) { $datacenter = $e->dc; - $this->logger("Got redirect while uploading $part_num: {$datacenter}"); + $this->logger("Got redirect while uploading part $part_num: {$datacenter}"); $writePromise = async($writeCb); } catch (Throwable $e) { $cancellation?->throwIfRequested(); - $this->logger("Got exception while uploading $part_num: {$e}"); - $d->error($e); + $this->logger("Got exception while uploading part $part_num: {$e}"); $writePromise = async($writeCb); } } while (true);