#5083 When failing to find a git repo, log where pagure looked
Merged 3 years ago by pingou. Opened 3 years ago by pingou.

file modified
+1
@@ -647,6 +647,7 @@ 

      """

      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

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

Thanks for the review :)

Pull-Request has been merged by pingou

3 years ago
Metadata