Do not silently catch errors for writing to S3

This commit is contained in:
Azat Khuzhin 2021-03-27 07:20:16 +03:00
parent c489355357
commit 6ebe4e7dbb
2 changed files with 0 additions and 14 deletions

View File

@ -112,18 +112,6 @@ void WriteBufferFromS3::finalizeImpl()
finalized = true;
}
WriteBufferFromS3::~WriteBufferFromS3()
{
try
{
finalizeImpl();
}
catch (...)
{
tryLogCurrentException(log);
}
}
void WriteBufferFromS3::createMultipartUpload()
{
Aws::S3::Model::CreateMultipartUploadRequest req;

View File

@ -64,8 +64,6 @@ public:
/// Receives response from the server after sending all data.
void finalize() override;
~WriteBufferFromS3() override;
private:
bool finalized = false;