Page MenuHomePhabricator

Internal Server Error if no edit summary provided
Closed, ResolvedPublic

Description

It looks like an edit summary check is coded in (app.py, 267):

if not summary:
    raise InvalidUsage('No summary provided')

But the server throws an Internal Server Error with no further error message if you don't provide an edit summary.

Event Timeline

Samwalton9-WMF created this task.
Samwalton9-WMF claimed this task.

Done and pushed to live site. Fix primarily based on http://flask.pocoo.org/docs/0.12/patterns/apierrors/.