Skip to content

Commit

Permalink
Wait longer when retrying if get_group_info fails.
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-parker committed Sep 22, 2024
1 parent 008328e commit de0e5ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ena-submission/scripts/create_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ def project_table_create(
group_info = get_group_info(config, row["group_id"])[0]["group"]
except Exception as e:
logger.error(f"Was unable to get group info for group: {row["group_id"]}, {e}")
time.sleep(30)
continue

project_set = construct_project_set_object(group_info, config, row, test)
Expand Down

0 comments on commit de0e5ff

Please sign in to comment.