Don't explode so much while testing
continuous-integration/drone/push Build is passing Details

This commit is contained in:
decentral1se 2021-06-16 11:32:14 +02:00
parent 8776b16c4a
commit a1eb570b67
Signed by: decentral1se
GPG Key ID: 92DAD76BD9567B8A
1 changed files with 4 additions and 1 deletions

View File

@ -37,7 +37,10 @@ mastodon.stream_hashtag("pubspace", PubspaceListener(), run_async=True)
@app.get("/")
async def home(request: Request):
app.state.log.info(await request.json())
try:
app.state.log.info(await request.json())
except Exception:
return {}
@app.get("/healthz")