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

Fix processorOptions configuration #107

Merged
merged 3 commits into from Feb 26, 2018

Conversation

agentsib
Copy link
Contributor

Hello.

Example configuration:

sentry:
    dsn: '%sentry_dsn%'
    options:
        processorOptions:
            Raven_Processor_SanitizeDataProcessor:
                fields_re: '/(authorization|password|passwd|secret|password_confirmation|card_number|auth_pw|userPass)/i'

And and we have exception:

(1/1) InvalidTypeException
Invalid type for path "sentry.options.processorOptions.Raven_Processor_SanitizeDataProcessor". Expected scalar, but got array.

Thanks!

Copy link
Collaborator

@Jean85 Jean85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution! It's very complete!

@Jean85
Copy link
Collaborator

Jean85 commented Feb 26, 2018

Ehy @agentsib can I ask you to re-open this same PR targeting the releases/1.x branch, so we can backport this fix there too?

@Jean85 Jean85 merged commit 1710460 into getsentry:master Feb 26, 2018
@Jean85
Copy link
Collaborator

Jean85 commented Mar 7, 2018

Released as 2.0.2

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.

None yet

2 participants