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

do not print stacktrace when client closes connection too early #40834

Merged
merged 2 commits into from
Apr 4, 2024

Conversation

piranha
Copy link
Contributor

@piranha piranha commented Apr 1, 2024

Our frontend can close connection too early, for example when you change any of parameters. This is most obvious in #36775, but any long-running connection could be interrupted early. We have no way to understand that connection is closed apart from just catching an exception and dealing with it.

Also not like we can do much with it... This error could be handled in metabase.async.streaming-response/delay-output-stream, but it feels like users of that proxy deserve to know that connection was closed.

@piranha piranha added the backport Automatically create PR on current release branch on merge label Apr 1, 2024
@piranha piranha requested a review from a team April 1, 2024 08:42
@piranha piranha requested a review from camsaul as a code owner April 1, 2024 08:42
@metabase-bot metabase-bot bot added the .Team/BackendComponents also known as BEC label Apr 1, 2024
Copy link

replay-io bot commented Apr 1, 2024

Status Complete ↗︎
Commit 9e8582c
Results
⚠️ 16 Flaky
2387 Passed

Copy link
Member

@tsmacdonald tsmacdonald left a comment

Choose a reason for hiding this comment

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

Co-authored-by: Tim Macdonald <tim@metabase.com>
@piranha piranha merged commit c059d8d into master Apr 4, 2024
107 checks passed
@piranha piranha deleted the eof-log branch April 4, 2024 11:57
Copy link

github-actions bot commented Apr 4, 2024

@piranha Did you forget to add a milestone to the issue for this PR? When and where should I add a milestone?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Automatically create PR on current release branch on merge .Team/BackendComponents also known as BEC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants