-
Notifications
You must be signed in to change notification settings - Fork 79
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
Add capture_all
to instrument_httpx
#753
base: main
Are you sure you want to change the base?
Conversation
Deploying logfire-docs with Cloudflare Pages
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## drop-httpx-kwargs #753 +/- ##
===================================================
Coverage 100.00% 100.00%
===================================================
Files 135 135
Lines 10907 10927 +20
Branches 1547 1552 +5
===================================================
+ Hits 10907 10927 +20 ☔ View full report in Codecov by Sentry. |
warn_at_user_stacklevel( | ||
'You should use either `capture_all` or the specific capture parameters, not both.', UserWarning | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is better being a runtime error instead of UserWarning.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think a warning is fine.
This is pointing to my other PR.