Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve resilience of refresh_agol_groups #177

Open
torrin47 opened this issue Oct 3, 2024 · 0 comments
Open

Improve resilience of refresh_agol_groups #177

torrin47 opened this issue Oct 3, 2024 · 0 comments

Comments

@torrin47
Copy link
Collaborator

torrin47 commented Oct 3, 2024

Refreshing agol groups seems to fail for unknown reasons (token timeout issues?) As a stopgap, could we wrap the routine in a try/except so that one failure doesn't nuke it for all portals?

for agol in AGOL.objects.all():
agol.get_all_groups()
agol.get_all_existing_user_group_memberships()
agol.get_all_roles()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant