Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
Update src/resin_cli/cli.py
Browse files Browse the repository at this point in the history
Co-authored-by: igiloh-pinecone <118673156+igiloh-pinecone@users.noreply.github.com>
  • Loading branch information
acatav and igiloh-pinecone authored Oct 24, 2023
1 parent 621dc03 commit ffa1260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resin_cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def check_service_health(url: str):

except requests.exceptions.HTTPError as e:
if e.response is not None:
error = e.response.json().get("detail", "") or e.response.text
error = e.response.json().get("detail", None) or e.response.text
else:
error = str(e)
msg = (
Expand Down

0 comments on commit ffa1260

Please sign in to comment.