Change-Id: Ib2b2b6743d119666757c79347a15142d94053ec1
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
* @todo I really hate catching an exception like this, but I
* really don't want to resort to a construct/init()
* style of object initialization. Fix.
- */std::cerr << "Error loading plugin: " << e.what() << "\n";
+ */
+ std::cerr << "Error loading plugin: " << e.what() << "\n";
}
}
if (request.empty()) {
response_callback response(wsi, std::string(), std::string());
response.send_error("Empty settings request.");
+ return;
}
smart_ptr<JsonParser> const parser(json_parser_new());