Skip to content

Commit

Permalink
chore: change log error to warning (#61)
Browse files Browse the repository at this point in the history
This shouldn't be logged as error since the CLI makes it clear that `ensure-group` will add a user to a group _if the group exists_.
  • Loading branch information
tvansteenburgh committed Jan 26, 2024
1 parent 15e91ea commit bb53aba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stacklet/client/platform/cognito.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,5 @@ def ensure_group(self, user, group) -> bool:
self.log.debug(res)
return True
except self.client.exceptions.ResourceNotFoundException:
self.log.error("Group:%s doesn't exist.", group)
self.log.warning("Group:%s doesn't exist.", group)
return False

0 comments on commit bb53aba

Please sign in to comment.