Verified Commit b9f51478 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Better error display

parent 7b442bfc
......@@ -172,7 +172,7 @@ def inbox_create_audio(payload, context):
context={"activity": context.get("activity"), "actor": context["actor"]},
)
if not serializer.is_valid(raise_exception=context.get("raise_exception", False)):
logger.warn("Discarding invalid audio create")
logger.warn("Discarding invalid audio create: %s", serializer.errors)
return
upload = serializer.save()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment