Skip to content

Commit

Permalink
fixup! Issue #3: preserve UDM errors
Browse files Browse the repository at this point in the history
  • Loading branch information
fbotner committed Nov 9, 2022
1 parent 3f873ea commit a3a5fa3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion udm_rest_client/base_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,6 @@ async def call_openapi( # noqa: C901
reason = exc.reason
msg = reason
error = None
resp_obj = json.loads(exc.body)
if exc.body:
with contextlib.suppress(KeyError, ValueError):
resp_obj = json.loads(exc.body)
Expand Down

0 comments on commit a3a5fa3

Please sign in to comment.