Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged

Conversation

J3173
Copy link
Contributor

@J3173 J3173 commented Nov 28, 2015

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 #40 but without using a configuration option.

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.
samuraisam added a commit that referenced this pull request Nov 30, 2015
Do not call signals.got_request_exception for expected exceptions.
@samuraisam samuraisam merged commit 1b0b277 into samuraisam:master Nov 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants