NASA-NAVO / navo-workshop

Tutorial notebooks for how to use PyVO to access NASA and other data in Python.
https://NASA-NAVO.github.io/navo-workshop
BSD 3-Clause "New" or "Revised" License
41 stars 26 forks source link

Add cleaner error handling #111

Open tomdonaldson opened 1 year ago

tomdonaldson commented 1 year ago

When a service is down (e.g., returns 5xx response status) our notebooks fail in pretty ugly ways. Even if we want to minimize the code in the notebooks, we should at least have a couple examples of how to gracefully and informatively handle errors. Maybe this can be coded in a way that's not verbose for all the notebook cells.