mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Fix resource handler
This commit is contained in:
@@ -12,4 +12,4 @@ class SentryResource(Resource):
|
||||
logger.error('Piston exception: %s(%s)' % (e.__class__.__name__, e), exc_info=sys.exc_info(),
|
||||
extra={'data': {'handler': meth.im_class, 'request': request, 'get': dict(request.GET), 'post': dict(request.POST) }})
|
||||
|
||||
return super(SentryResource, self).error_handler(self, e, request, meth, em_format)
|
||||
return super(SentryResource, self).error_handler(e, request, meth, em_format)
|
||||
|
||||
Reference in New Issue
Block a user