Skip to content

Commit 70a3460

Browse files
committed
Pass the error information to logger
1 parent 715b053 commit 70a3460

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ankaios_sdk/ankaios.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def __init__(self,
174174
try:
175175
self.get_state(field_masks=["desiredState.apiVersion"])
176176
except AnkaiosResponseError as e:
177-
pass
177+
self.logger.warning("%s", e)
178178
except AnkaiosProtocolException:
179179
self.logger.warning("Connection test failed with: %s", e)
180180
except ConnectionClosedException as e:

0 commit comments

Comments
 (0)