Log which repo is being ignored, it makes debugging easier

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2020-05-01 13:58:01 +02:00
parent 257db337aa
commit 41ae82d75d

View file

@ -80,7 +80,7 @@ class MirrorFromPagure(object):
if message.topic == "io.pagure.prod.pagure.git.receive":
repo_name = message.body.get("repo", {}).get("fullname")
if repo_name not in self.trigger_names:
_log.info("Not the pagure repo of interest, bailing")
_log.info("%s is not a pagure repo of interest, bailing", repo_name)
return
elif message.topic == "org.fedoraproject.prod.infragit.receive":
pass