funcx/sdk/client.py doesn't correctly use MalformedResponse. It is neither imported from funcx/errors.py nor is it called correctly. This leads to an unhelpful NameError being thrown when an unexpected HTTP response is received (e.g., a GlobusAuth error).
funcx/sdk/client.py
doesn't correctly useMalformedResponse
. It is neither imported fromfuncx/errors.py
nor is it called correctly. This leads to an unhelpfulNameError
being thrown when an unexpected HTTP response is received (e.g., a GlobusAuth error).https://github.com/funcx-faas/funcX/blob/281d2c21715d1efe597145295ceeed06c461a3cf/funcx/sdk/client.py#L181