diff options
-rw-r--r-- | storage/src/vespa/storage/common/storagelink.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/src/vespa/storage/common/storagelink.cpp b/storage/src/vespa/storage/common/storagelink.cpp index b68441be298..7e9617d0564 100644 --- a/storage/src/vespa/storage/common/storagelink.cpp +++ b/storage/src/vespa/storage/common/storagelink.cpp @@ -123,7 +123,7 @@ void StorageLink::sendDown(const StorageMessage::SP& msg) default: LOG(error, "Link %s trying to send %s down while in state %s", toString().c_str(), msg->toString().c_str(), stateToString(getState())); - return; + assert(false); } assert(msg); LOG(spam, "Storage Link %s to handle %s", toString().c_str(), msg->toString().c_str()); @@ -165,7 +165,7 @@ void StorageLink::sendUp(const shared_ptr<StorageMessage> & msg) default: LOG(error, "Link %s trying to send %s up while in state %s", toString().c_str(), msg->toString(true).c_str(), stateToString(getState())); - return; + assert(false); } assert(msg); if (isTop()) { |