Skip to content

Commit 2ed9d8b

Browse files
Another catch
1 parent f25672d commit 2ed9d8b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/replit_river/v2/session.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,10 @@ async def send_upload[I, R, A](
832832
span=span,
833833
)
834834
raise
835+
except SessionClosedRiverServiceException as e:
836+
raise RiverServiceException(
837+
ERROR_CODE_STREAM_CLOSED, str(e), service_name, procedure_name
838+
) from e
835839
except Exception as e:
836840
# If we get any exception other than WebsocketClosedException,
837841
# cancel the stream.

0 commit comments

Comments
 (0)