Skip to content

Commit

Permalink
Properly surface RequestErrors from balena-api
Browse files Browse the repository at this point in the history
Change-type: patch
  • Loading branch information
otaviojacobi committed Oct 25, 2024
1 parent 81011bb commit 26400c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion balena/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def __init__(self, body, status_code=None):
self.message = Message.REQUEST_ERROR.format(body=body)
self.body = body
self.status_code = status_code
# print(self.message, status_code)
print(self.message, status_code)


class NotLoggedIn(BalenaException):
Expand Down

0 comments on commit 26400c2

Please sign in to comment.