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

add try/except handling in access_api_data #173

Open
andrewjtdunn opened this issue May 14, 2024 · 0 comments
Open

add try/except handling in access_api_data #173

andrewjtdunn opened this issue May 14, 2024 · 0 comments
Labels

Comments

@andrewjtdunn
Copy link
Contributor

We haven't added much error handling here and we probably should given we want cron jobs to complete without error. Better to catch errors and flag in logs than to have the whole job stop.

eg:
line 188 -- r.raise_for_status(),
line 263 -- raise RuntimeError(f"Unrecoverable error; {r_json}")

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

No branches or pull requests

1 participant