summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--yt/yt/client/table_client/adapters.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt/yt/client/table_client/adapters.cpp b/yt/yt/client/table_client/adapters.cpp
index 0e78c2f861e..0309bbbc483 100644
--- a/yt/yt/client/table_client/adapters.cpp
+++ b/yt/yt/client/table_client/adapters.cpp
@@ -21,7 +21,7 @@ using NProfiling::TWallTimer;
////////////////////////////////////////////////////////////////////////////////
-const NLogging::TLogger Logger("TableClientAdapters");
+YT_DEFINE_GLOBAL(const NLogging::TLogger, Logger, "TableClientAdapters");
////////////////////////////////////////////////////////////////////////////////
@@ -237,7 +237,7 @@ void PipeReaderToWriterByBatches(
} catch (const std::exception& ex) {
YT_LOG_ERROR(ex, "Failed to transfer batches from reader to writer");
- THROW_ERROR_EXCEPTION(ex);
+ throw;
}
}