diff options
author | ilnurkh <ilnurkh@yandex-team.com> | 2023-10-17 08:15:44 +0300 |
---|---|---|
committer | ilnurkh <ilnurkh@yandex-team.com> | 2023-10-17 09:00:07 +0300 |
commit | 784925324fd115c37bc98c5bbfe64c15f9966d74 (patch) | |
tree | f763f6eaacfcd4757d249977aaddfa4e9b2a355b /library/cpp/messagebus/config/netaddr.cpp | |
parent | d6c75d9ec33559b29eb61a8f2e17cbca30fd5ae2 (diff) | |
download | ydb-784925324fd115c37bc98c5bbfe64c15f9966d74.tar.gz |
Y_FAIL->Y_ABORT at '^li'
https://clubs.at.yandex-team.ru/arcadia/29404
Diffstat (limited to 'library/cpp/messagebus/config/netaddr.cpp')
-rw-r--r-- | library/cpp/messagebus/config/netaddr.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/messagebus/config/netaddr.cpp b/library/cpp/messagebus/config/netaddr.cpp index 4660711a0c..0e9f76be8c 100644 --- a/library/cpp/messagebus/config/netaddr.cpp +++ b/library/cpp/messagebus/config/netaddr.cpp @@ -14,7 +14,7 @@ namespace NBus { case EIP_VERSION_6: return "EIP_VERSION_6"; } - Y_FAIL(); + Y_ABORT(); } int ToAddrFamily(EIpVersion ipVersion) { @@ -26,7 +26,7 @@ namespace NBus { case EIP_VERSION_6: return AF_INET6; } - Y_FAIL(); + Y_ABORT(); } class TNetworkAddressRef: private TNetworkAddress, public TAddrInfo { @@ -81,7 +81,7 @@ namespace NBus { case EIP_VERSION_ANY: return "any address"; default: - Y_FAIL("unreachable"); + Y_ABORT("unreachable"); } } @@ -158,7 +158,7 @@ namespace NBus { case AF_INET6: return InetToHost(((sockaddr_in6*)Ptr->Addr())->sin6_port); default: - Y_FAIL("unknown AF: %d", (int)Ptr->Addr()->sa_family); + Y_ABORT("unknown AF: %d", (int)Ptr->Addr()->sa_family); throw 1; } } |