Update ReplicatedMergeTreeAttachThread.cpp

This commit is contained in:
Alexander Tokmakov 2023-03-11 00:45:09 +03:00 committed by GitHub
parent 7cd5ce3580
commit 6e7ffd9a7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,11 +60,11 @@ void ReplicatedMergeTreeAttachThread::run()
if (needs_retry)
{
LOG_ERROR(log, "Initialization failed. Error: {}", e.message());
LOG_ERROR(log, "Initialization failed. Error: {}", getCurrentExceptionMessage(/* with_stacktrace */ true));
}
else
{
LOG_ERROR(log, "Initialization failed, table will remain readonly. Error: {}", e.message());
LOG_ERROR(log, "Initialization failed, table will remain readonly. Error: {}", getCurrentExceptionMessage(/* with_stacktrace */ true));
storage.initialization_done = true;
}
}