diff --git a/sdk/core/azure-core-amqp/test/ut/mock_amqp_server.hpp b/sdk/core/azure-core-amqp/test/ut/mock_amqp_server.hpp index 067f34c06a4..049f0311416 100644 --- a/sdk/core/azure-core-amqp/test/ut/mock_amqp_server.hpp +++ b/sdk/core/azure-core-amqp/test/ut/mock_amqp_server.hpp @@ -290,6 +290,7 @@ class AmqpServerMock : public Azure::Core::Amqp::Network::_internal::SocketListe catch (std::exception& ex) { GTEST_LOG_(INFO) << "Exception thrown sending CBS response: " << ex.what(); + return; } } else if (static_cast(operation) == "delete-token")