Skip to content

Commit e0fac3e

Browse files
Missing "continue"s
1 parent 7123e82 commit e0fac3e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/replit_river/v2/session.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -876,6 +876,7 @@ async def send_subscription[I, E, A](
876876
break
877877
if not item.get("ok", False):
878878
yield error_deserializer(item["payload"])
879+
continue
879880
yield response_deserializer(item["payload"])
880881
await self._send_close_stream(stream_id, span)
881882
except Exception as e:
@@ -959,6 +960,7 @@ async def _encode_stream() -> None:
959960
break
960961
if "ok" not in result or not result["ok"]:
961962
yield error_deserializer(result["payload"])
963+
continue
962964
yield response_deserializer(result["payload"])
963965
# ... block the outer function until the emitter is finished emitting,
964966
# possibly raising a terminal exception.

0 commit comments

Comments
 (0)