13
0

send a slightly more useful message if a control protocol's probe() method fails

This commit is contained in:
Paul Davis 2016-07-16 14:10:52 -04:00
parent f50d7cda25
commit 6946bdc083

View File

@ -346,8 +346,7 @@ ControlProtocolManager::control_protocol_discover (string path)
if ((descriptor = get_descriptor (path)) != 0) {
if (!descriptor->probe (descriptor)) {
DEBUG_TRACE (DEBUG::ControlProtocols,
string_compose (_("Control protocol %1 not usable"), descriptor->name));
warning << string_compose (_("Control protocol %1 not usable"), descriptor->name) << endmsg;
} else {
ControlProtocolInfo* cpi = new ControlProtocolInfo ();