Skip to content

Commit 0adb2c7

Browse files
Create custom exceptions and link it to website
1 parent cd730d3 commit 0adb2c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/aws/ec2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def add_defaults(configs: Dict[str, any]) -> AWSConfidentialComputeConfig:
105105
except NoCredentialsError as _:
106106
raise MissingInstanceProfile(self.__class__.__name__)
107107
except ClientError as _:
108-
raise ConfigNotFound(self.__class__.__name__, f"{secret_identifier} in {region}")
108+
raise ConfigNotFound(self.__class__.__name__, f"Secret Manager {secret_identifier} in {region}")
109109

110110
@staticmethod
111111
def __get_max_capacity():

0 commit comments

Comments
 (0)