Skip to content

Commit

Permalink
Upgraded from warning to critical logging for logging prior to an exc…
Browse files Browse the repository at this point in the history
…eption being thrown
  • Loading branch information
hagertnl committed Sep 28, 2023
1 parent 863bd94 commit f6462b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f6462b7

Please sign in to comment.