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: random exceptions in logs in middleware #2608

Merged
merged 1 commit into from
Jul 31, 2024
Merged

fix: random exceptions in logs in middleware #2608

merged 1 commit into from
Jul 31, 2024

Conversation

dni
Copy link
Member

@dni dni commented Jul 27, 2024

closes #2599

special thanks to bitkarrot for figuring that out, it was actually initialized twice, the decorator alone is enough!

also was issue for first_install middleware, manually tested it

Copy link

codecov bot commented Jul 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.37%. Comparing base (19c231a) to head (1b06ff7).

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #2608      +/-   ##
==========================================
+ Coverage   58.65%   60.37%   +1.71%     
==========================================
  Files          70       70              
  Lines       10139    10137       -2     
==========================================
+ Hits         5947     6120     +173     
+ Misses       4192     4017     -175     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dni dni changed the title fix: random exceptions inside logs in middleware fix: random exceptions in logs in middleware Jul 27, 2024
Copy link
Collaborator

@motorina0 motorina0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested first install: OK

closes #2599

special thanks to bitkarrot for figuring that out, it was actually
initialized twice, the decorator alone is enough!

also was issue for first_install middleware
@dni dni force-pushed the bug-wouldblock-error branch from 670a384 to 1b06ff7 Compare July 31, 2024 06:22
@dni dni merged commit b0a66e8 into dev Jul 31, 2024
32 checks passed
@dni dni deleted the bug-wouldblock-error branch July 31, 2024 10:00
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.

[BUG] Strange errors: raise WouldBlock / anyio.WouldBlock / anyio.EndOfStream
4 participants