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

Update fetch error logging from console.error to console.warn #871

Merged
merged 2 commits into from
Apr 16, 2024

Conversation

buildbreaker
Copy link
Contributor

The underlying PartyKit framework logs an error which gets forwarded to the same tail logger that is set up for the top level application. Since our team uses the tail logger to set up alarms, this specific console.error does get called every so often when we deploy. The error we receive is:

fetch error
Error: Durable Object reset because its code was updated.

The change here is to log a warn instead since this might still be worthwhile to log but the application itself can appropriately handle the actual error and decide how to move forward.

Copy link

changeset-bot bot commented Apr 16, 2024

🦋 Changeset detected

Latest commit: b2c48e7

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

This PR includes changesets to release 1 package
Name Type
partykit Patch

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

Copy link

vercel bot commented Apr 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
partykit-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2024 8:59pm
partykit-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2024 8:59pm
partykit-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2024 8:59pm

@CLAassistant
Copy link

CLAassistant commented Apr 16, 2024

CLA assistant check
All committers have signed the CLA.

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

3 participants