Skip to content

Commit

Permalink
Log commands that the interchange does not recognise, as an error (#3434
Browse files Browse the repository at this point in the history
)

The interchange command protocol is tied to the submit side closely, and
it is generally a programmer or deployment error rather than intentional
cross-version compatibility that would result in this unknown command code
path firing.
  • Loading branch information
benclifford committed May 16, 2024
1 parent bb970fc commit 562194d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions parsl/executors/high_throughput/interchange.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ def _command_server(self) -> NoReturn:
reply = None

else:
logger.error(f"Received unknown command: {command_req}")
reply = None

logger.debug("Reply: {}".format(reply))
Expand Down

0 comments on commit 562194d

Please sign in to comment.