Return after logging error message.
@@ -53,6 +53,7 @@ FRTSource::getConfig()
Connection * connection = _connectionFactory->getCurrent();
if (connection == nullptr) {
LOG(warning, "No connection available - bad config ?");
+ return;
}
const ConfigState & state(_agent->getConfigState());
// LOG(debug, "invoking request with md5 %s, gen %" PRId64 ", servertimeout(%" PRId64 "), client(%f)", state.md5.c_str(), state.generation, serverTimeout, clientTimeout);
