Commit 91155c2
committed
fix: silence ClosedSendChannelException during bidi stream reconnect
When gRPC enters TRANSIENT_FAILURE during a reconnect attempt, the
response flow closes the request channel before the initial send
completes. This is an expected race condition — handle it silently
instead of reporting it to Bugsnag as an error.
Signed-off-by: Brandon McAnsh <git@bmcreations.dev>1 parent dee7842 commit 91155c2
1 file changed
Lines changed: 11 additions & 3 deletions
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
125 | 135 | | |
126 | 136 | | |
127 | 137 | | |
128 | 138 | | |
129 | 139 | | |
130 | 140 | | |
131 | | - | |
132 | | - | |
133 | | - | |
| 141 | + | |
134 | 142 | | |
135 | 143 | | |
136 | 144 | | |
| |||
0 commit comments