Spaces:
Runtime error
Runtime error
derek-thomas
commited on
Commit
·
ec0d917
1
Parent(s):
865eaaa
No need for debug anymore
Browse files
app.py
CHANGED
@@ -79,7 +79,6 @@ async def community(payload: WebhookPayload, task_queue: BackgroundTasks):
|
|
79 |
except:
|
80 |
return Response("No task scheduled", status_code=status.HTTP_200_OK)
|
81 |
|
82 |
-
logger.info(f"\n\n{payload}\n\n")
|
83 |
logger.info(f"Webhook received from {payload.repo.name} indicating a repo {payload.event.action}")
|
84 |
task_queue.add_task(_process_webhook, payload=payload)
|
85 |
return Response("Task scheduled.", status_code=status.HTTP_202_ACCEPTED)
|
|
|
79 |
except:
|
80 |
return Response("No task scheduled", status_code=status.HTTP_200_OK)
|
81 |
|
|
|
82 |
logger.info(f"Webhook received from {payload.repo.name} indicating a repo {payload.event.action}")
|
83 |
task_queue.add_task(_process_webhook, payload=payload)
|
84 |
return Response("Task scheduled.", status_code=status.HTTP_202_ACCEPTED)
|