feature: Including MQTT client
This commit is contained in:
@@ -174,7 +174,7 @@ std::string NvsApi::getValue(const std::string &key) {
|
||||
auto value = opt.value();
|
||||
return value;
|
||||
} catch (const std::bad_optional_access &e) {
|
||||
ESP_LOGE(TAG, "%s", "Value not defined");
|
||||
ESP_LOGE(TAG, "Value '%s' not defined", key.c_str());
|
||||
} catch (const std::exception &e) {
|
||||
ESP_LOGE(TAG, "%s", e.what());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user