Skip to content

AspNetCore Package: ExcludeErrorsFromLocal is not respected  #430

@bakermo

Description

@bakermo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions