Closed justin-robinson closed 1 year ago
This looks like a good addition. I'm not merging it yet as we should update computegen to properly generate this code https://github.com/mcneel/compute.rhino3d/blob/master/tools/computegen/PythonClient.cs
@sbaer new merge request created https://github.com/mcneel/compute.rhino3d/pull/567
Closing in favor of https://github.com/mcneel/compute.rhino3d/pull/567
Problem Error thrown when ComputeFetch tries to decode a non JSON response as JSON. The error masks the underlying problem and makes it hard to debug. This happens during non 2xx http code responses. For example if you use a hostname other than the one your compute server is bound to, you'll get the following python error
Solution throw an exception with the raw response if response isn't json
Testing Locally I still get an error but one that gives me useful information.