Don't explode so much while testing
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
8776b16c4a
commit
a1eb570b67
@ -37,7 +37,10 @@ mastodon.stream_hashtag("pubspace", PubspaceListener(), run_async=True)
|
|||||||
|
|
||||||
@app.get("/")
|
@app.get("/")
|
||||||
async def home(request: Request):
|
async def home(request: Request):
|
||||||
|
try:
|
||||||
app.state.log.info(await request.json())
|
app.state.log.info(await request.json())
|
||||||
|
except Exception:
|
||||||
|
return {}
|
||||||
|
|
||||||
|
|
||||||
@app.get("/healthz")
|
@app.get("/healthz")
|
||||||
|
Reference in New Issue
Block a user