DLHub-Argonne / dlhub_sdk

Python Interface to the Data and Learning Hub for Science
Apache License 2.0
27 stars 6 forks source link

`run` Should Throw Exceptions on Failures #59

Closed WardLT closed 4 years ago

WardLT commented 5 years ago

In some cases, the run method will return results when there is an error. For example, the DLHub service currently returns a string for internal errors, which we should either catch in the client or (my preference) return a non-200 status code from the server on those cases.

WardLT commented 4 years ago

This is a FuncX issue now.