mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Do not silently catch errors for writing to S3
This commit is contained in:
parent
c489355357
commit
6ebe4e7dbb
@ -112,18 +112,6 @@ void WriteBufferFromS3::finalizeImpl()
|
||||
finalized = true;
|
||||
}
|
||||
|
||||
WriteBufferFromS3::~WriteBufferFromS3()
|
||||
{
|
||||
try
|
||||
{
|
||||
finalizeImpl();
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
tryLogCurrentException(log);
|
||||
}
|
||||
}
|
||||
|
||||
void WriteBufferFromS3::createMultipartUpload()
|
||||
{
|
||||
Aws::S3::Model::CreateMultipartUploadRequest req;
|
||||
|
@ -64,8 +64,6 @@ public:
|
||||
/// Receives response from the server after sending all data.
|
||||
void finalize() override;
|
||||
|
||||
~WriteBufferFromS3() override;
|
||||
|
||||
private:
|
||||
bool finalized = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user