Skip to content

Conversation

@Fil
Copy link
Contributor

@Fil Fil commented Sep 17, 2024

curl is a rare unix utility that does not return an error code > 0 when it fails, unless we use -f (--fail); seems like a best practice we should promote.

Copy link
Contributor

@allisonhorst allisonhorst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. We use curl for the EIA example (in eia-system-points.json.sh). Even though it doesn't actually update with live data, we may want to update with -f there for consistency.

@Fil
Copy link
Contributor Author

Fil commented Sep 17, 2024

Note to self: I'll have to re-deploy loader-census and loader-duckdb, since they show the loader code in the pages.

EDIT: DONE

@Fil Fil mentioned this pull request Sep 17, 2024
15 tasks
@Fil Fil merged commit 28b857c into main Sep 23, 2024
@Fil Fil deleted the fil/curl-f branch September 23, 2024 13:53
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

Successfully merging this pull request may close these issues.

3 participants