logging: expose logs when not mapped repo is found

This commit is contained in:
RhodeCode Admin 2023-01-12 21:50:56 +01:00
parent 7908e6921a
commit 463905a689

View file

@ -275,6 +275,7 @@ class RepoAppView(BaseAppView):
if self.rhodecode_vcs_repo is None:
# unable to fetch this repo as vcs instance, report back to user
log.debug('Repository was not found on filesystem, check if it exists or is not damaged')
h.flash(_(
"The repository `%(repo_name)s` cannot be loaded in filesystem. "
"Please check if it exist, or is not damaged.") %