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 typing errors involving handle_internal_errors #885

Merged
merged 14 commits into from
Feb 22, 2025

Conversation

alexmojaki
Copy link
Contributor

@alexmojaki alexmojaki commented Feb 22, 2025

Fixes #884 by making a context manager 'manually'. This should also be a bit faster, contextlib._GeneratorContextManager does a bunch of extra stuff internally.

Copy link

cloudflare-workers-and-pages bot commented Feb 22, 2025

Deploying logfire-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: c953a7d
Status: ✅  Deploy successful!
Preview URL: https://486dbd28.logfire-docs.pages.dev
Branch Preview URL: https://alex-handle-internal-errors.logfire-docs.pages.dev

View logs

@alexmojaki alexmojaki marked this pull request as ready for review February 22, 2025 12:10
@alexmojaki alexmojaki merged commit 8e39500 into main Feb 22, 2025
14 checks passed
@alexmojaki alexmojaki deleted the alex/handle-internal-errors-cm branch February 22, 2025 12:48
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.

Type checking on logfire.span is broken
2 participants