datalad / datalad-xnat

Track XNAT projects with DataLad
Other
3 stars 9 forks source link

More on error handling #81

Closed bpoldrack closed 2 years ago

bpoldrack commented 2 years ago

BF: Catch HTTP errors before using responses Without this patch, we end up passing the content of an error response on to JSON decoding etc., which is leading to quite uninformative failures.