Skip to content

Commit

Permalink
fix: Better Job launch debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Christie committed Jan 14, 2025
1 parent 74a280c commit 6a5005c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion viewer/squonk_job_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ def create_squonk_job(request):
logger.info('+ create_squonk_job() job_name=%s', job_name)
logger.info('+ create_squonk_job(%s) callback_url=%s', job_name, callback_url)
logger.info('+ create_squonk_job(%s) callback_token=%s', job_name, callback_token)
logger.info('+ create_squonk_job(%s) squonk_job_spec=%s', job_name, squonk_job_spec)

# Dry-run the Job execution (this provides us with the 'command', which is
# placed in the JobRecord's squonk_job_info).
Expand Down Expand Up @@ -246,7 +247,7 @@ def create_squonk_job(request):
specification=json.loads(squonk_job_spec),
timeout_s=8,
)
logger.debug(result)
logger.info('+ create_squonk_job(%s) result=%s', job_name, result)

if not result.success:
logger.warning(
Expand Down

0 comments on commit 6a5005c

Please sign in to comment.