forked from M-Labs/artiq
applets: fix error message text
This commit is contained in:
parent
de99e7f830
commit
7584b02d66
|
@ -53,9 +53,9 @@ class AppletIPCClient(AsyncioChildComm):
|
||||||
process_mod(data, mod)
|
process_mod(data, mod)
|
||||||
self.mod_cb(mod)
|
self.mod_cb(mod)
|
||||||
else:
|
else:
|
||||||
raise ValueError("unknown action in applet request")
|
raise ValueError("unknown action in parent message")
|
||||||
except:
|
except:
|
||||||
logger.error("error processing applet request",
|
logger.error("error processing parent message",
|
||||||
exc_info=True)
|
exc_info=True)
|
||||||
self.close_cb()
|
self.close_cb()
|
||||||
|
|
||||||
|
|
|
@ -61,9 +61,9 @@ class AppletIPCServer(AsyncioParentComm):
|
||||||
self.datasets_sub.model.backing_store)
|
self.datasets_sub.model.backing_store)
|
||||||
self.write_pyon({"action": "mod", "mod": mod})
|
self.write_pyon({"action": "mod", "mod": mod})
|
||||||
else:
|
else:
|
||||||
raise ValueError("unknown action in applet request")
|
raise ValueError("unknown action in applet message")
|
||||||
except:
|
except:
|
||||||
logger.warning("error processing applet request",
|
logger.warning("error processing applet message",
|
||||||
exc_info=True)
|
exc_info=True)
|
||||||
self.write_pyon({"action": "error"})
|
self.write_pyon({"action": "error"})
|
||||||
except asyncio.CancelledError:
|
except asyncio.CancelledError:
|
||||||
|
|
Loading…
Reference in New Issue