From 175251cba6a2a1ce9d71f8264bba132929c2fd3c Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jan 11 2021 11:38:33 +0000 Subject: When failing to find a git repo, log where pagure looked Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/utils.py b/pagure/utils.py index 8564179..b4b63ce 100644 --- a/pagure/utils.py +++ b/pagure/utils.py @@ -647,6 +647,7 @@ def get_repo_path(repo): """ repopath = repo.repopath("main") if not os.path.exists(repopath): + _log.debug("Git repo not found at: %s", repopath) flask.abort(404, description="No git repo found") return repopath