Skip to content

fix: Only warn about mismatched URLs when they are different#2143

Merged
szokeasaurusrex merged 1 commit intomasterfrom
szokeasaurusrex/auth-token-url-log-fix
Sep 5, 2024
Merged

fix: Only warn about mismatched URLs when they are different#2143
szokeasaurusrex merged 1 commit intomasterfrom
szokeasaurusrex/auth-token-url-log-fix

Conversation

@szokeasaurusrex
Copy link
Member

Previously, we warned about a mismatch between the auth token URL and the manually configured URL even when they were the same. We also sometimes issued the warning when no URL was manually configured (i.e. when the default https://sentry.io/ was used).

Now, we only warn when the two are actually different and we also only warn if a URL was actually manually configured.

Fixes #2137

@szokeasaurusrex szokeasaurusrex changed the title fix: Only about mismatched URLs when they are different fix: Only warn about mismatched URLs when they are different Sep 5, 2024
Previously, we warned about a mismatch between the auth token URL and the manually configured URL even when they were the same. We also sometimes issued the warning when no URL was manually configured (i.e. when the default https://sentry.io/ was used).

Now, we only warn when the two are actually different and we also only warn if a URL was actually manually configured.

Fixes #2137
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.

Quite confusing log message

2 participants