From 26400c206cd43038baf4e7a03d7c8bd0c85341a7 Mon Sep 17 00:00:00 2001 From: Otavio Jacobi Date: Fri, 25 Oct 2024 10:50:23 -0300 Subject: [PATCH] Properly surface RequestErrors from balena-api Change-type: patch --- balena/exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/balena/exceptions.py b/balena/exceptions.py index c389b7f3..cf570164 100644 --- a/balena/exceptions.py +++ b/balena/exceptions.py @@ -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):