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

ref(core): Make event processing logs warnings #5010

Merged
merged 1 commit into from
Apr 28, 2022
Merged

Conversation

AbhiPrasad
Copy link
Member

It can be confusing to users why event processing errors log out as errors. Let's bump this down to warnings instead - which better represent how actionable most of these thrown errors are.

Based on feedback in #3939

@AbhiPrasad AbhiPrasad requested review from a team, lforst and lobsterkatie and removed request for a team April 28, 2022 13:14
@github-actions
Copy link
Contributor

github-actions bot commented Apr 28, 2022

size-limit report 📦

Path Size
@sentry/browser - ES5 CDN Bundle (gzipped + minified) 18.29 KB (-9.18% 🔽)
@sentry/browser - ES5 CDN Bundle (minified) 57.25 KB (-11.4% 🔽)
@sentry/browser - ES6 CDN Bundle (gzipped + minified) 17.08 KB (-9.47% 🔽)
@sentry/browser - ES6 CDN Bundle (minified) 51.49 KB (-11.19% 🔽)
@sentry/browser - Webpack (gzipped + minified) 18.74 KB (-19.37% 🔽)
@sentry/browser - Webpack (minified) 60.65 KB (-25.78% 🔽)
@sentry/react - Webpack (gzipped + minified) 18.76 KB (-19.4% 🔽)
@sentry/nextjs Client - Webpack (gzipped + minified) 42.43 KB (-11.7% 🔽)
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 24.08 KB (-7.67% 🔽)
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 22.64 KB (-7.51% 🔽)

@AbhiPrasad
Copy link
Member Author

Will wait till transport changes in #4998 to get merged to fix the baseclient tests (easier to resolve conflicts then).

@lforst
Copy link
Member

lforst commented Apr 28, 2022

Will wait till transport changes in #4998 to get merged to fix the baseclient tests (easier to resolve conflicts then).

Just a heads up, the PR you linked was a draft PR of mine I don't intend to merge. You probably had the intention to link #5008?

@AbhiPrasad
Copy link
Member Author

Just a heads up, the PR you linked was a draft PR of mine I don't intend to merge. You probably had the intention to link #5008?

Yup, good catch!

It can be confusing to users why event processing errors log out as errors. Let's bump this down to warnings instead - which better represent how actionable most of these thrown errors are.
@AbhiPrasad AbhiPrasad merged commit 1c5bff0 into 7.x Apr 28, 2022
@AbhiPrasad AbhiPrasad deleted the v7-abhi-warn-errors branch April 28, 2022 17:41
@AbhiPrasad AbhiPrasad added this to the 7.0.0 milestone May 12, 2022
AbhiPrasad added a commit that referenced this pull request May 30, 2022
It can be confusing to users why event processing errors log out as errors. Let's bump this down to warnings instead - which better represent how actionable most of these thrown errors are.
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