simonw / airtable-export

Export Airtable data to YAML, JSON or SQLite files on disk
https://datasette.io/tools/airtable-export
Apache License 2.0
112 stars 15 forks source link

Sensible error handling #1

Closed simonw closed 4 years ago

simonw commented 4 years ago

If the Airtable API returns an error - due to an incorrect API key for example - we should handle it nicely.

simonw commented 4 years ago

Anything that's not a 200 should result in a human-readable error on the terminal and a non-0 exit code, without showing a traceback.