Skip to content

Conversation

ardhitama
Copy link
Contributor

As of bandit v1.5.7 during client disconnection it will raise "Unable to obtain transport_info: [reason]" every time it tries to get the transport info. This commit tries to handle that exception by returning nil instead of bubbling the exception.

Context: https://github.com/mtrudel/bandit/blob/b06e43dcee93c5c044b18ed8347838fc2a1728f0/lib/bandit/transport_info.ex#L26

@ardhitama ardhitama closed this Oct 22, 2024
@ardhitama ardhitama reopened this Oct 22, 2024
As of bandit v1.5.7 during client disconnection it will raise "Unable to obtain transport_info: [reason]"
everytime it tries to get the transport info. This commit tries to handle that exception by returning nil
instead of bubbling the exception.
@whatyouhide whatyouhide merged commit 9f6f245 into getsentry:master Oct 23, 2024
4 checks passed
@ardhitama ardhitama deleted the handle-bandit-get-peer-data-exception branch October 23, 2024 09:26
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