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

Sentry contrib package. #38

Closed
proofit404 opened this issue Jul 4, 2018 · 1 comment
Closed

Sentry contrib package. #38

proofit404 opened this issue Jul 4, 2018 · 1 comment

Comments

@proofit404
Copy link
Owner

Submit proxy and context representation to the breadcrumbs the same way we do with py.test plugin.

@proofit404 proofit404 mentioned this issue Jul 4, 2018
@proofit404
Copy link
Owner Author

Add stories as breadcrumbs:

>>> from raven import breadcrumbs
>>> def processor(data):
...     data.update({
...         'message': """
... Story.method:
...     pass
...
... Context:
...     a = 1
... """,
...         'category': 'story',
...     })
...
>>> breadcrumbs.record(processor=processor)
>>> from raven.contrib.django.raven_compat.models import client
>>> client.captureException()

untitled1

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