Skip to content

Commit

Permalink
secret msg
Browse files Browse the repository at this point in the history
  • Loading branch information
vinicvaz committed Feb 15, 2024
1 parent 0e1847a commit 736ceef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rest/services/secret_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def update_repository_secret(
self.logger.info(f"Updating secret {secret_id} for repository {piece_repository_id}")
secret = self.secret_repository.find_by_id(id=secret_id)
if not secret:
raise ResourceNotFoundException()
raise ResourceNotFoundException("Secret not found.")

if not body.value:
secret.value = None
Expand Down

0 comments on commit 736ceef

Please sign in to comment.