Skip to content

Commit

Permalink
Expose hidden characters in debug log message when master-worker have…
Browse files Browse the repository at this point in the history
… different patch versions.
  • Loading branch information
cyberw committed Jan 29, 2025
1 parent 67fa859 commit a47601d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locust/runners.py
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ def client_listener(self) -> NoReturn:
elif msg.data != __version__ and msg.data != -1:
if msg.data[0:4] == __version__[0:4]:
logger.debug(
f"A worker ({client_id}) running a different patch version ({msg.data}) connected, master version is {__version__}"
f"A worker ({client_id}) running a different patch version ({repr(msg.data)}) connected, master version is {repr(__version__)}"
)
else:
logger.warning(
Expand Down

0 comments on commit a47601d

Please sign in to comment.