asas-sn / skypatrol

The ASAS-SN Sky Patrol python client
GNU General Public License v3.0
15 stars 4 forks source link

Improved response error handling #4

Closed danhey closed 2 years ago

danhey commented 2 years ago

Currently getting error 500 requests when running ADQL queries. There's no code to support this so pyarrow is trying to deserialise it and failing without giving useful information. Here's a tiny fix that will catch all 4xx/5xx errors in the future.