You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The _get and _post methods of DbtCloud will use response.raise_for_status(), which will lock in users into the try/except paradigm, and furthermore will not include the original response object, which contains important details (such as the developer message or user message indicating the underlying root cause for failure).
Rather than use raise_for_status, simply allow callers to use it themselves or not after giving them a chance to parse/inspect the response contents for themselves.
The text was updated successfully, but these errors were encountered:
hans2520
added a commit
to hans2520/py-dbt-cloud
that referenced
this issue
Mar 15, 2022
The
_get
and_post
methods of DbtCloud will useresponse.raise_for_status()
, which will lock in users into the try/except paradigm, and furthermore will not include the original response object, which contains important details (such as the developer message or user message indicating the underlying root cause for failure).Rather than use
raise_for_status
, simply allow callers to use it themselves or not after giving them a chance to parse/inspect the response contents for themselves.The text was updated successfully, but these errors were encountered: