observablehq / framework

A static site generator for data apps, dashboards, reports, and more. Observable Framework combines JavaScript on the front-end for interactive graphics with any language on the back-end for data analysis.
https://observablehq.com/framework/
ISC License
2.58k stars 125 forks source link

adopt curl -f to make the data loader fail if curl fails to download #1667

Closed Fil closed 2 months ago

Fil commented 2 months ago

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.

Fil commented 2 months ago

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