pretenders / ployst

The ployst core repo
1 stars 0 forks source link

Make response data to github hook plain text or JSON #106

Open txels opened 9 years ago

txels commented 9 years ago

This is relevant In particular for errors.

Internally catching exceptions and changing the output content-type to some specific JSON or text/plain will help debug errors (in the github hook activity log e.g. https://github.com/pretenders/ployst/settings/hooks/3590693). Currently the response is a standard django HTML page and it's painful to read and debug in Github's UI.