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

Introduce exception raygun_custom_data instance method #101

Conversation

TSMMark
Copy link
Contributor

@TSMMark TSMMark commented Mar 2, 2017

To support the case:

I want to raise an exception and have my Rack middleware(s) handle it. However, I also want to include custom data to raygun.

AFAICT this case was not supported, so here we are. Open to feedback. Thanks!

@fundead
Copy link
Contributor

fundead commented Mar 2, 2017

Thanks for your contribution! This is a good use case to support and lines up with features available in other language providers e.g Raygun4JS, so we'll definitely be including this in some form. There's a couple of additional considerations to handle other scenarios including the ability to accept a Proc etc, but I'll be getting one of the team to review this further next week for you. We'll be in touch again shortly.

@UberMouse
Copy link
Contributor

Pretty happy with this as is so I'm merging it. I'll be adding a proc to allow a global hook for custom data as per #28 as well.

@UberMouse UberMouse merged commit 8fdbd50 into MindscapeHQ:master Mar 9, 2017
@TSMMark TSMMark deleted the exception-raygun-custom-data-instance-method branch March 9, 2017 22:23
@TSMMark
Copy link
Contributor Author

TSMMark commented Mar 9, 2017

@UberMouse Awesome! Any idea how long til a gem release includes this?

@UberMouse
Copy link
Contributor

UberMouse commented Mar 9, 2017

I'll release v1.3 most likely sometime on Monday (GMT+12)

@UberMouse
Copy link
Contributor

Hey @TSMMark, we've opted to delay the feature I was waiting on for the Monday release (PR #107) so I've just released 1.3 now. Let me know if you find any issues :)

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