aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/actors/interconnect/interconnect_handshake.cpp
diff options
context:
space:
mode:
authorilnurkh <ilnurkh@yandex-team.com>2023-10-17 08:15:44 +0300
committerilnurkh <ilnurkh@yandex-team.com>2023-10-17 09:00:07 +0300
commit784925324fd115c37bc98c5bbfe64c15f9966d74 (patch)
treef763f6eaacfcd4757d249977aaddfa4e9b2a355b /library/cpp/actors/interconnect/interconnect_handshake.cpp
parentd6c75d9ec33559b29eb61a8f2e17cbca30fd5ae2 (diff)
downloadydb-784925324fd115c37bc98c5bbfe64c15f9966d74.tar.gz
Y_FAIL->Y_ABORT at '^li'
https://clubs.at.yandex-team.ru/arcadia/29404
Diffstat (limited to 'library/cpp/actors/interconnect/interconnect_handshake.cpp')
-rw-r--r--library/cpp/actors/interconnect/interconnect_handshake.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/actors/interconnect/interconnect_handshake.cpp b/library/cpp/actors/interconnect/interconnect_handshake.cpp
index 7783de1f92..eae80d8c5c 100644
--- a/library/cpp/actors/interconnect/interconnect_handshake.cpp
+++ b/library/cpp/actors/interconnect/interconnect_handshake.cpp
@@ -296,7 +296,7 @@ namespace NActors {
} catch (const TExPoison&) {
// just stop execution, do nothing
} catch (...) {
- Y_FAIL("unhandled exception");
+ Y_ABORT("unhandled exception");
}
if (SubscribedForConnection) {
SendToProxy(MakeHolder<TEvSubscribeForConnection>(*HandshakeId, false));
@@ -439,7 +439,7 @@ namespace NActors {
throw TExPoison();
default:
- Y_FAIL("unexpected event 0x%08" PRIx32, type);
+ Y_ABORT("unexpected event 0x%08" PRIx32, type);
}
}
@@ -1097,7 +1097,7 @@ namespace NActors {
SendExBlock(MainChannel, ev->Record, "ExReply");
ProgramInfo.Clear(); // do not issue reply to the proxy
} else {
- Y_FAIL("unexpected event Type# 0x%08" PRIx32, reply->GetTypeRewrite());
+ Y_ABORT("unexpected event Type# 0x%08" PRIx32, reply->GetTypeRewrite());
}
}
}