Skip to content

Commit

Permalink
applets: fix error message text
Browse files Browse the repository at this point in the history
sbourdeauducq committed Feb 8, 2016

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent de99e7f commit 7584b02
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions artiq/applets/simple.py
Original file line number Diff line number Diff line change
@@ -53,9 +53,9 @@ async def listen(self):
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()

4 changes: 2 additions & 2 deletions artiq/gui/applets.py
Original file line number Diff line number Diff line change
@@ -61,9 +61,9 @@ async def serve(self, embed_cb):
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:

0 comments on commit 7584b02

Please sign in to comment.