Skip to content

Commit

Permalink
Merge pull request #4265 from MJedr/fix-logger
Browse files Browse the repository at this point in the history
fix logger in snow ticket creation
  • Loading branch information
MJedr authored May 4, 2023
2 parents 55ab7c1 + 9a9c8cf commit 77417dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inspirehep/modules/workflows/tasks/submission.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def submit_snow_ticket(obj, queue, template, context, caller, recid, ticket_id_k
template = _get_ticket_template_name(template)
functional_category = current_app.config['QUEUE_TO_FUNCTIONAL_CATEGORY_MAPPING'].get(queue)
if not functional_category:
LOGGER.info("Skipping creating ticket for wf %s. Queue %s is not mapped to SNOW functional category." % obj.id, queue)
LOGGER.info("Skipping creating ticket for wf %s. Queue %s is not mapped to SNOW functional category." % (obj.id, queue))
ticket_payload = {
"template": template,
"template_context": context,
Expand Down

0 comments on commit 77417dd

Please sign in to comment.