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 = get_descriptor (path)) != 0) {
|
||||||
|
|
||||||
if (!descriptor->probe (descriptor)) {
|
if (!descriptor->probe (descriptor)) {
|
||||||
DEBUG_TRACE (DEBUG::ControlProtocols,
|
warning << string_compose (_("Control protocol %1 not usable"), descriptor->name) << endmsg;
|
||||||
string_compose (_("Control protocol %1 not usable"), descriptor->name));
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
ControlProtocolInfo* cpi = new ControlProtocolInfo ();
|
ControlProtocolInfo* cpi = new ControlProtocolInfo ();
|
||||||
|
Loading…
Reference in New Issue
Block a user