sunpy: Distinguishing zero results because of no results, or because of server error
This weekend the solar orbiter archive was down, which prompted this bug report for a not very nice error being raised by sunpy-soar: https://github.com/dstansby/sunpy-soar/issues/11. I think the solution to that issue is to return zero results from the client, so other clients have a chance to return results (e.g. for a time only search). It would be helpful to have a way of informing the user of the difference between:
- Returned zero results because the server didn’t have any results
- Returned zero results because of a server error
About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 1
- Comments: 40 (40 by maintainers)
Sure, I still have some doubts but when I see something, it should be easier to work them out.
We could do better, but what some clients do is to raise warnings and then return 0 results.