Skip to content

Commit

Permalink
IMP More explicit repository not found error message
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardparareda committed Feb 26, 2024
1 parent c89b937 commit 2efcd2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apply_pr/fabfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ def check_it_exists(src='/home/erp/src', repository='erp', sudo_user='erp'):
with settings(hide('everything'), sudo_user=sudo_user, warn_only=True):
res = sudo("ls {}/{}".format(src, repository))
if res.return_code:
message = "The repository does not exist or cannot be found"
message = "The repository {} does not exist or cannot be found in {}".format(repository, src)
tqdm.write(colors.red(message))
abort(message)

Expand Down

0 comments on commit 2efcd2e

Please sign in to comment.