fix error message when kernel stop

This commit is contained in:
marc hurabielle 2019-09-11 14:39:43 +09:00
parent 30ef7f7cba
commit 1abe50f25c

View file

@ -122,7 +122,7 @@ class IPython(ipython_pb2_grpc.IPythonServicer):
if not self.isKernelAlive() or t.is_alive():
yield ipython_pb2.ExecuteResponse(status=ipython_pb2.ERROR,
type=ipython_pb2.TEXT,
output="Ipython kernel has been stopped. It might be because of an out of memory issue")
output="Ipython kernel has been stopped. Please check logs. It might be because of an out of memory issue.")
if payload_reply:
result = []
for payload in payload_reply[0]['content']['payload']: