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

Update Documentation with Best Practices for subclassing an exception #90

Open
brock opened this issue Jun 12, 2019 · 0 comments
Open

Comments

@brock
Copy link
Contributor

brock commented Jun 12, 2019

This would be really helpful to new users, or users that are migrating from Python2 to Python3.

It would be nice to have an example of a subclassed Exception in the documentation, along with best practices for using the subclassed Exception and how those affect what shows up in Raygun.

After using Raygun for some time, we still find things like unique ID's in the message field, which prevents the Raygun interface from merging these as they come in.

Some helpful posts for us getting our reporting cleaned up are Proper way to declare custom exceptions in modern python and How to make a custom exception class picklable The latter, in particular, is helpful when stack overflow errors are generated while debugging an app that also reports to Raygun.

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

No branches or pull requests

1 participant