mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-23 10:51:25 +01:00
Fixup
This commit is contained in:
parent
744fa46820
commit
f2d35733dd
@ -357,7 +357,7 @@ trait Files
|
||||
$this->logger("Got redirect while uploading $part_num: {$datacenter}");
|
||||
$writePromise = async($writeCb);
|
||||
} catch (Throwable $e) {
|
||||
$cancellation->throwIfRequested();
|
||||
$cancellation?->throwIfRequested();
|
||||
$this->logger("Got exception while uploading $part_num: {$e}");
|
||||
$d->error($e);
|
||||
$writePromise = async($writeCb);
|
||||
|
Loading…
x
Reference in New Issue
Block a user