send a slightly more useful message if a control protocol's probe() method fails
This commit is contained in:
parent
f50d7cda25
commit
6946bdc083
|
@ -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 ();
|
||||
|
|
Loading…
Reference in New Issue
Block a user