Skip to content

Commit

Permalink
add log message for debugging purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
matheushent committed Jun 6, 2022
1 parent 0ce033c commit f584e31
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cluster_agent/jobbergate/submit.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ async def submit_job_script(
auth=lambda r: inject_token(r, username=username),
json=json.loads(payload.json()), # noqa: This is so, so gross. However: https://github.com/samuelcolvin/pydantic/issues/1409#issuecomment-951890060
)
logger.debug("#### Slurmrestd response #####")
logger.debug(response.json())
response.raise_for_status()
sub_data = SlurmSubmitResponse.parse_raw(response.content)

Expand Down

0 comments on commit f584e31

Please sign in to comment.