Skip to content

Commit

Permalink
Merge pull request psychopy#6784 from TEParsons/dev-enh-liaison-log
Browse files Browse the repository at this point in the history
ENH: Log all messages received by Liaison
  • Loading branch information
TEParsons committed Aug 12, 2024
2 parents 0e0542f + b52e515 commit ef69672
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions psychopy/liaison.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,10 @@ async def _processMessage(self, websocket, message):
message : string
the message sent by the client to the server, as a JSON string
"""
# log message
self._logger.debug(
f"Liaison received message: {message}"
)
# decode the message:
try:
decodedMessage = json.loads(message)
Expand Down

0 comments on commit ef69672

Please sign in to comment.