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)
|
||||
self.mod_cb(mod)
|
||||
else:
|
||||
raise ValueError("unknown action in applet request")
|
||||
raise ValueError("unknown action in parent message")
|
||||
except:
|
||||
logger.error("error processing applet request",
|
||||
logger.error("error processing parent message",
|
||||
exc_info=True)
|
||||
self.close_cb()
|
||||
|
||||
|
@ -61,9 +61,9 @@ class AppletIPCServer(AsyncioParentComm):
|
||||
self.datasets_sub.model.backing_store)
|
||||
self.write_pyon({"action": "mod", "mod": mod})
|
||||
else:
|
||||
raise ValueError("unknown action in applet request")
|
||||
raise ValueError("unknown action in applet message")
|
||||
except:
|
||||
logger.warning("error processing applet request",
|
||||
logger.warning("error processing applet message",
|
||||
exc_info=True)
|
||||
self.write_pyon({"action": "error"})
|
||||
except asyncio.CancelledError:
|
||||
|
Loading…
Reference in New Issue
Block a user