forked from Hay1tsme/artemis
diva: fix binary requests not being awaited
This commit is contained in:
@ -100,7 +100,7 @@ class DivaServlet(BaseServlet):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
handler = getattr(self.base, f"handle_{bin_req_data['cmd']}_request")
|
handler = getattr(self.base, f"handle_{bin_req_data['cmd']}_request")
|
||||||
resp = handler(bin_req_data)
|
resp = await handler(bin_req_data)
|
||||||
|
|
||||||
except AttributeError as e:
|
except AttributeError as e:
|
||||||
self.logger.warning(f"Unhandled {bin_req_data['cmd']} request {e}")
|
self.logger.warning(f"Unhandled {bin_req_data['cmd']} request {e}")
|
||||||
|
Reference in New Issue
Block a user