forked from Hay1tsme/artemis
sao: fix error on unknown response type
This commit is contained in:
@ -152,7 +152,7 @@ class SaoServlet(BaseServlet):
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
self.logger.error(f"Unknown response type {type(resp)}")
|
self.logger.error(f"Unknown response type {type(resp)}")
|
||||||
return SaoNoopResponse(req_header.cmd + 1).make()
|
return Response(SaoNoopResponse(req_header.cmd + 1).make())
|
||||||
|
|
||||||
self.logger.debug(f"Response: {resp.hex()}")
|
self.logger.debug(f"Response: {resp.hex()}")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user