Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Unexpected Warning #325

Closed
b-my opened this issue Oct 19, 2021 · 1 comment · Fixed by getsentry/sentry-cli#1054
Closed

Unexpected Warning #325

b-my opened this issue Oct 19, 2021 · 1 comment · Fixed by getsentry/sentry-cli#1054

Comments

@b-my
Copy link

b-my commented Oct 19, 2021

Environment

How do you use Sentry?
Sentry SaaS (sentry.io)

Which SDK and version?
JavaScript 6.13.3

Steps to Reproduce

While using these configuration options
new SentryWebpackPlugin({ include: "./" + paths.OUTPUT_DIR, ignoreFile: ".sentrycliignore", ignore: ["node_modules", "webpack.config.js"], release, setCommits: { repo: process.env.SENTRY_REPO, auto: true, }, stripPrefix: [paths.OUTPUT_DIR], }),
We now get the warning stated below causing our CI pipeline to fail despite everything being uploaded correctly.
This has started recently (today) and we believe it might be related to this change:
getsentry/sentry#29347

The message doesn't really make sense to us as we are not using an on-premise instance.

Expected Result

No warnings occur

Actual Result

WARN 2021-10-19 10:29:30.058283324 +00:00 Uploading chunks to a relative url is not recommended. Please update your system.url-prefixconfiguration inside config.yml or use Root URL option at https:///manage/settings/ directly.

@kamilogorek
Copy link
Contributor

Hello, thanks for reporting this issue. It indeed is a bug on sentry-cli side. However it is log only, so it shouldn't affect the behavior itself. It will be fixed here getsentry/sentry-cli#1054

In the meantime, you can silence the output with SENTRY_LOG_LEVEL=error (or in .sentryclirc):

[log]
level=error

Cheers!

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

Successfully merging a pull request may close this issue.

2 participants