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

AspNetCore Package: ExcludeErrorsFromLocal is not respected #430

Open
bakermo opened this issue Jun 15, 2020 · 0 comments
Open

AspNetCore Package: ExcludeErrorsFromLocal is not respected #430

bakermo opened this issue Jun 15, 2020 · 0 comments

Comments

@bakermo
Copy link

bakermo commented Jun 15, 2020

Hello there!

We are utilizing the Mindscape.Raygun4Net.AspNetCore package and have discovered that ExcludeErrorsFromLocal on RaygunSettings is only being referenced by RaygunAspNetMiddleware:
https://github.com/MindscapeHQ/raygun4net/blob/c464d6da64e54996d8644f5ba920d9aec1158ec2/Mindscape.Raygun4Net.AspNetCore/RaygunAspNetMiddleware.cs#L81

There is no check against this setting in RaygunClient.cs, so any direct calls to Send() or SendInBackground() will send the exception even from local origins.

It appears this setting was working correctly in Mindscape.Raygun4Net.

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