tighten up validation

This commit is contained in:
Michael Davidsaver
2017-11-16 16:55:45 -06:00
parent cc9c666731
commit 8e846b02bc

View File

@@ -2296,6 +2296,8 @@ public:
dynamic_pointer_cast<const Structure>(
transport->cachedDeserialize(payloadBuffer)
);
if(!structure)
throw std::runtime_error("initResponse() w/o Structure");
m_monitorStrategy->init(structure);
bool restoreStartedState = m_started;