Return error message instead of throwing exception that can't be handled by anyone
This commit is contained in:
parent
38cecde96b
commit
97449f7d43
@ -62,7 +62,7 @@ class MpdHandler(object):
|
||||
return None
|
||||
else:
|
||||
return self.handle_response(result, add_ok)
|
||||
raise MpdAckError(u'Unknown command: %s' % request)
|
||||
return self.handle_response(u'ACK Unknown command: %s' % request)
|
||||
|
||||
def handle_response(self, result, add_ok=True):
|
||||
response = []
|
||||
|
||||
Loading…
Reference in New Issue
Block a user