From 47a3bf9fa7f76ba8882ef352c119eaf28b4657f1 Mon Sep 17 00:00:00 2001 From: Sylvie Dyer Date: Tue, 8 Oct 2024 22:01:34 +0000 Subject: [PATCH] addressing pylint error --- src/rpdk/core/project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpdk/core/project.py b/src/rpdk/core/project.py index 2a2cb9dd..37b8af90 100644 --- a/src/rpdk/core/project.py +++ b/src/rpdk/core/project.py @@ -307,7 +307,7 @@ def load_settings(self): "https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html" ) except KeyError as e: - raise InvalidProjectError( + self._raise_invalid_project( f"Error extracting protocol version from '{self.settings_path}'", e )