Skip to content

Commit

Permalink
removing the chained exception since we're already printing out the e…
Browse files Browse the repository at this point in the history
…xception
  • Loading branch information
brifordwylie committed Nov 30, 2024
1 parent 343a3e0 commit 0cab1ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sageworks/core/cloud_platform/aws/aws_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def _assume_sageworks_role_session_credentials(self):

except Exception as e:
self.c_print(f"Error during Refresh Credentials: {e}", critical=True)
raise RuntimeError("Failed to refresh SageWorks role session credentials") from e
raise RuntimeError("Failed to refresh SageWorks role session credentials")

@staticmethod
def c_print(text: str, critical: bool = False):
Expand Down

0 comments on commit 0cab1ec

Please sign in to comment.