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: don't log warning if i18nDomains isn't enabled #9932

Merged
merged 3 commits into from
Feb 2, 2024

Conversation

ematipico
Copy link
Member

@ematipico ematipico commented Feb 1, 2024

Changes

This PR fixes a bug where an error log was incorrectly logged inside an adapter

Testing

Manually tested

Docs

N/A

Copy link

changeset-bot bot commented Feb 1, 2024

🦋 Changeset detected

Latest commit: dd4cf3a

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@ematipico ematipico changed the title fix: don't log warning if isn't enabled fix: don't log warning if i18nDomains isn't enabled Feb 1, 2024
@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Feb 1, 2024
@TotalLag
Copy link

TotalLag commented Feb 1, 2024

Hi, thanks for this fix. Just wanted to confirm this is the same as:

14:54:49 [ERROR] [config] The feature "i18nDomains" is not supported (used by astro-sst).
14:54:49 [ERROR] The adapter astro-sst doesn't support the feature i18nDomains. Your project won't be built. You should not use it.

Is it simply logging or is it really not building either?

@lilnasy
Copy link
Contributor

lilnasy commented Feb 1, 2024

@TotalLag That is only a log. If your build fails, it would be for another reason.

@ematipico ematipico merged commit 9f0d89f into main Feb 2, 2024
13 checks passed
@ematipico ematipico deleted the fix/log-only-if-feature-enabled branch February 2, 2024 13:40
@astrobot-houston astrobot-houston mentioned this pull request Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants