samuraisam / django-json-rpc

JSON-RPC Implementation for Django
MIT License
286 stars 83 forks source link

Do not call signals.got_request_exception for expected exceptions. #75

Closed J3173 closed 8 years ago

J3173 commented 8 years ago

Subclasses of jsonrpc.exceptions.Error are used to return JSONRPC error responses in well defined situations and should not call the got_request_exception signal used for uncaught exceptions.

This is similar to the behaviour of the Django Http404 exception.

This pull request is similar to samuraisam/django-json-rpc#40 but without using a configuration option.