forked from Hay1tsme/artemis
cardmaker: add missing await (thanks galexion!)
This commit is contained in:
parent
de013766f6
commit
1c3f52974d
@ -117,7 +117,7 @@ class CardMakerServlet(BaseServlet):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
handler = getattr(self.versions[internal_ver], func_to_find)
|
handler = getattr(self.versions[internal_ver], func_to_find)
|
||||||
resp = handler(req_data)
|
resp = await handler(req_data)
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.logger.error(f"Error handling v{version} method {endpoint} - {e}")
|
self.logger.error(f"Error handling v{version} method {endpoint} - {e}")
|
||||||
|
Loading…
Reference in New Issue
Block a user