Skip to content

Commit

Permalink
libstore: fixup unformatted uri when S3 getObject fails
Browse files Browse the repository at this point in the history
  • Loading branch information
cole-h committed Dec 19, 2024
1 parent 3f3feae commit 987cad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstore/filetransfer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ struct curlFileTransfer : public FileTransfer
auto s3Res = s3Helper.getObject(bucketName, key);
FileTransferResult res;
if (!s3Res.data)
throw FileTransferError(NotFound, "S3 object '%s' does not exist", request.uri);
throw FileTransferError(NotFound, {}, "S3 object '%s' does not exist", request.uri);
res.data = std::move(*s3Res.data);
res.urls.push_back(request.uri);
callback(std::move(res));
Expand Down

0 comments on commit 987cad7

Please sign in to comment.