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

Regexs in config/serverConfig were saved as empty object in sentry.server.config.js #307

Closed
ding-js opened this issue Apr 20, 2021 · 1 comment · Fixed by #308
Closed
Labels

Comments

@ding-js
Copy link

ding-js commented Apr 20, 2021

Version

@nuxtjs/sentry: 5.0.3
nuxt: 2.15.4

Sentry configuration

{
  serverConfig: {
    ignoreErrors: [/Request failed with status code (401|403|404)/];
  }
}

Steps to reproduce

set ignoreErrors with Regex

What is Expected?

preserve Regex

What is actually happening?

Regexs were saved as empty object in sentry.server.config.js

image

I try to use publicRuntimeConfig and Regexs were passed correctly, maybe we should add a tip in docs?

@ding-js ding-js added the bug label Apr 20, 2021
@ding-js ding-js changed the title Regexs in config/serverConfig were covered to empty object Regexs in config/serverConfig were saved as empty object in sentry.server.config.js Apr 20, 2021
@rchl
Copy link
Member

rchl commented Apr 20, 2021

This can be fixed: #308

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants