hipo-drf-exceptions
hipo-drf-exceptions copied to clipboard
Return JSON for InternalServerErrors
Issue: https://github.com/Hipo/hipo-drf-exceptions/issues/7
@efe did you check these docs? https://www.django-rest-framework.org/api-guide/exceptions/#generic-error-views https://docs.djangoproject.com/en/dev/topics/http/views/#customizing-error-views
Maybe we shouldn't have a middleware at all?