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

Set log level to warning instead of error for 4xx HTTPExceptions from FastAPI/Starlette #858

Merged
merged 2 commits into from
Feb 12, 2025

Conversation

alexmojaki
Copy link
Contributor

No description provided.

Copy link

Deploying logfire-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8e08a90
Status: ✅  Deploy successful!
Preview URL: https://1600abad.logfire-docs.pages.dev
Branch Preview URL: https://alex-4xx-warning.logfire-docs.pages.dev

View logs

@alexmojaki alexmojaki enabled auto-merge (squash) February 12, 2025 11:50
@alexmojaki alexmojaki merged commit b3bd959 into main Feb 12, 2025
14 checks passed
@alexmojaki alexmojaki deleted the alex/4xx-warning branch February 12, 2025 11:51
@Kludex
Copy link
Member

Kludex commented Feb 12, 2025

Why is it even warning and not info?

@alexmojaki
Copy link
Contributor Author

I think this is more intuitive/expected but we can reduce it further to info if we want.

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.

2 participants