Skip to content

Commit 941162c

Browse files
authored
Merge pull request #146 from gisce/imp_more_explicit_repository_error
More explicit repository not found error message
2 parents c89b937 + 2efcd2e commit 941162c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apply_pr/fabfile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ def check_it_exists(src='/home/erp/src', repository='erp', sudo_user='erp'):
659659
with settings(hide('everything'), sudo_user=sudo_user, warn_only=True):
660660
res = sudo("ls {}/{}".format(src, repository))
661661
if res.return_code:
662-
message = "The repository does not exist or cannot be found"
662+
message = "The repository {} does not exist or cannot be found in {}".format(repository, src)
663663
tqdm.write(colors.red(message))
664664
abort(message)
665665

0 commit comments

Comments
 (0)