diff options
| author | achains <[email protected]> | 2026-01-28 14:57:51 +0300 |
|---|---|---|
| committer | achains <[email protected]> | 2026-01-28 15:25:20 +0300 |
| commit | e079adcc58d008177b3ee55b6be076679ec0c381 (patch) | |
| tree | c06acc988219abead9ab96eeea2f4b3718dc0735 /yt/cpp/mapreduce/client/operation.cpp | |
| parent | 43f7e46e933a0fad2bfe7713791765bf99939480 (diff) | |
YT-27220: Fix SyncFinishOperationImpl error handling
commit_hash:883674da257e308ada68ab51c601bd74aabe0ae7
Diffstat (limited to 'yt/cpp/mapreduce/client/operation.cpp')
| -rw-r--r-- | yt/cpp/mapreduce/client/operation.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/yt/cpp/mapreduce/client/operation.cpp b/yt/cpp/mapreduce/client/operation.cpp index 692cb1771a1..0be8ac46368 100644 --- a/yt/cpp/mapreduce/client/operation.cpp +++ b/yt/cpp/mapreduce/client/operation.cpp @@ -2855,9 +2855,12 @@ void TOperation::TOperationImpl::SyncFinishOperationImpl(const TOperationAttribu // so we call `GetJobStatistics' in order to get it from server // and cache inside object. GetJobStatistics(); - } catch (const TErrorResponse& ) { + } catch (const std::exception& e) { // But if for any reason we failed to get attributes // we complete operation using what we have. + YT_LOG_ERROR("Failed to get job statistics for operation %v: %v", + *Id_, + e.what()); auto g = Guard(Lock_); Attributes_ = attributes; } |
