Skip to content

Commit d6f7805

Browse files
CarlSchwanjoshtrichards
authored andcommitted
refactor: Improve log message
Co-authored-by: Josh <josh.t.richards@gmail.com> Signed-off-by: Carl Schwan <carl@carlschwan.eu>
1 parent ccb1d9a commit d6f7805

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/private/Files/ObjectStore/ObjectStoreStorage.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ public function completeChunkedWrite(string $targetPath, string $writeToken): in
819819
}
820820
} catch (S3MultipartUploadException|S3Exception $e) {
821821
$this->logger->error(
822-
'Could not complete multipart upload ' . $urn . ' with uploadId ' . $writeToken,
822+
'Unable to complete multipart upload for "' . $urn . '" (uploadId: "' . $writeToken . '")',
823823
[
824824
'app' => 'objectstore',
825825
'exception' => $e,
@@ -829,7 +829,7 @@ public function completeChunkedWrite(string $targetPath, string $writeToken): in
829829
$this->objectStore->abortMultipartUpload($urn, $writeToken);
830830
} catch (S3Exception $e) {
831831
$this->logger->error(
832-
'Failed to abort multi-part upload for ' . $urn . ' with uploadId ' . $writeToken,
832+
'Unable to abort multipart upload for "' . $urn . '" (uploadId: "' . $writeToken . '") after completion error',
833833
[
834834
'app' => 'objectstore',
835835
'exception' => $e,

0 commit comments

Comments
 (0)