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(hydration): log errors/warnings only in dev mode #3534

Merged
merged 2 commits into from
Jun 13, 2023

Conversation

nolanlawson
Copy link
Contributor

Details

Wraps all error/warn logs in hydration.ts in a process.env.NODE_ENV !== 'production' check. Prompted by #2939 (comment)

Note we don't really have a test for this yet, because we only run the hydration tests in dev mode (#3253).

Does this pull request introduce a breaking change?

  • ✅ No, it does not introduce a breaking change.

Does this pull request introduce an observable change?

  • ✅ No, it does not introduce an observable change.

@nolanlawson nolanlawson requested a review from a team as a code owner May 23, 2023 22:43
@nolanlawson nolanlawson requested a review from divmain May 23, 2023 22:43
@nolanlawson nolanlawson merged commit 3cf350b into master Jun 13, 2023
2 checks passed
@nolanlawson nolanlawson deleted the nolan/hydration-prod branch June 13, 2023 18:29
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