Unbuffered.
This commit is contained in:
parent
780c178d95
commit
cc3b896d2c
@ -123,6 +123,7 @@ class RPCView(BaseView):
|
|||||||
result = await method(*args)
|
result = await method(*args)
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
result = dict({"exception":str(ex),"traceback":traceback.format_exc()})
|
result = dict({"exception":str(ex),"traceback":traceback.format_exc()})
|
||||||
|
print(result,flush=True)
|
||||||
#dict(error=ex=str(ex),traceback=traceback.format_exc())
|
#dict(error=ex=str(ex),traceback=traceback.format_exc())
|
||||||
await self.ws.send_json({"callId":call_id,"success":True,"data":result})
|
await self.ws.send_json({"callId":call_id,"success":True,"data":result})
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
|
Loading…
Reference in New Issue
Block a user