|
@@ -80,9 +80,9 @@ class ConnHandlerBeeWatch(digilib.network.ConnHandlerBase):
|
|
try:
|
|
try:
|
|
retval = func(**kwargs)
|
|
retval = func(**kwargs)
|
|
if hasattr(retval,"__await__"):
|
|
if hasattr(retval,"__await__"):
|
|
- lserver.debug("curio.run started")
|
|
+ lserver.debug("curio.spawn started")
|
|
- task = curio.run(retval)
|
|
+ task = curio.spawn(retval)
|
|
- lserver.debug("curio.run finished")
|
|
+ lserver.debug("curio.spawn finished")
|
|
except Exception as e:
|
|
except Exception as e:
|
|
lserver.error("Error while calling api func",exc_info=e)
|
|
lserver.error("Error while calling api func",exc_info=e)
|
|
tb = traceback.format_exc()
|
|
tb = traceback.format_exc()
|