From f6462b776788e870bf545b0faa55c0f5d30b00cb Mon Sep 17 00:00:00 2001 From: Nick Hagerty Date: Thu, 28 Sep 2023 10:52:32 -0400 Subject: [PATCH] Upgraded from warning to critical logging for logging prior to an exception being thrown --- harness/libraries/repositories/single_app_git_repository.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/harness/libraries/repositories/single_app_git_repository.py b/harness/libraries/repositories/single_app_git_repository.py index 8f66004..ae2e790 100644 --- a/harness/libraries/repositories/single_app_git_repository.py +++ b/harness/libraries/repositories/single_app_git_repository.py @@ -137,7 +137,7 @@ def cloneRepository(self, elif clone_flag == GitCloneFlag.FOUND_EXISTING_REPOSITORY_WITH_INCORRECT_ORIGIN: message = "The directory {} is an existing git repository whose origin is not {}.\n".format(pathspec, self.remote_repository_URL) - logger.doWarningLogging(message) + logger.doCriticalLogging(message) raise CloningToDirectoryWithIncorrectOriginError(message) return