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

Log exception when 503 is returned #29

Merged
merged 1 commit into from
Aug 10, 2015
Merged

Conversation

lubomir
Copy link
Member

@lubomir lubomir commented Aug 6, 2015

This should help with troubleshooting problems on devel or qa servers as
the traceback will be in server error log.

There is a change in bulk ops test suite. Some of the tests were
actually wrong and raised an exception for a wrong reason. All exception
logging in those tests is silenced.

This can help development since if there is an unhandled exception
causing 503, the tests now show a traceback of the error instead of just
the failed assertion. There is no change when looking at the bad page in
browser.

@erichuanggit
Copy link
Collaborator

👍
vote for this patch, generally I will comment out "EXCEPTION_HANDLER" in settings file in local development :-)

This should help with troubleshooting problems on devel or qa servers as
the traceback will be in server error log.

There is a change in bulk ops test suite. Some of the tests were
actually wrong and raised an exception for a wrong reason. All exception
logging in those tests is silenced.

This can help development since if there is an unhandled exception
causing 503, the tests now show a traceback of the error instead of just
the failed assertion. There is no change when looking at the bad page in
browser.
@lubomir lubomir merged commit 4a81b0a into master Aug 10, 2015
@lubomir lubomir deleted the pdc-915-log-exceptions branch August 10, 2015 08:07
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.

None yet

2 participants