[fix] display some status events

This commit is contained in:
Laurent Peuch 2019-02-20 23:06:47 +01:00
parent 9eb8e4a0e0
commit cd3014fe17

View file

@ -328,6 +328,9 @@ async def github(request):
user = request.json["sender"]["login"]
url = request.json["commit"]["html_url"]
if state != "success":
notify(f"[{repository}] {description} {target_url} on commit {url}")
else:
print(f"Status weird stuff: [{repository}] @{user} state: {state}, description: {description}, target_url: {target_url} - {url}")
return text("ok")