2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

applets: fix error message text

This commit is contained in:
Sebastien Bourdeauducq 2016-02-08 19:23:50 +01:00
parent de99e7f830
commit 7584b02d66
2 changed files with 4 additions and 4 deletions

View File

@ -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()

View File

@ -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: