Skip to content

Commit 6936273

Browse files
committed
chore: fix linter issue
1 parent 479a17c commit 6936273

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ibm_cloud_sdk_core/token_managers/container_token_manager.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ def retrieve_cr_token(self) -> str:
115115
return cr_token
116116
# pylint: disable=broad-except
117117
except Exception as ex:
118-
raise Exception('Unable to retrieve the CR token value from file {}: {}'.format(cr_token_filename, ex))
118+
raise Exception(
119+
'Unable to retrieve the CR token value from file {}: {}'.format(cr_token_filename, ex)) from None
119120

120121
def request_token(self) -> dict:
121122
"""Retrieves a CR token value from the current compute resource,

0 commit comments

Comments
 (0)