Skip to content

Commit

Permalink
replace the secret only the first time
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Izquierdo committed Nov 2, 2023
1 parent b7e20eb commit 06b11c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aap_eda/services/project/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def clone(
except GitError as e:
msg = str(e)
if secret:
msg = msg.replace(secret, "****")
msg = msg.replace(secret, "****", 1)
logger.warning("Git clone failed: %s", msg)
raise GitError(msg) from None
return cls(path, _executor=_executor)
Expand Down

0 comments on commit 06b11c6

Please sign in to comment.