We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 479a17c commit 6936273Copy full SHA for 6936273
ibm_cloud_sdk_core/token_managers/container_token_manager.py
@@ -115,7 +115,8 @@ def retrieve_cr_token(self) -> str:
115
return cr_token
116
# pylint: disable=broad-except
117
except Exception as ex:
118
- raise Exception('Unable to retrieve the CR token value from file {}: {}'.format(cr_token_filename, ex))
+ raise Exception(
119
+ 'Unable to retrieve the CR token value from file {}: {}'.format(cr_token_filename, ex)) from None
120
121
def request_token(self) -> dict:
122
"""Retrieves a CR token value from the current compute resource,
0 commit comments