Skip to content

Commit 75cf18b

Browse files
More logging
1 parent 1d2eede commit 75cf18b

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

src/replit_river/v2/session.py

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,11 +1152,11 @@ async def _serve(
11521152
message = await ws.recv(decode=False)
11531153
try:
11541154
msg = parse_transport_msg(message)
1155-
# logger.debug(
1156-
# "[%s] got a message %r",
1157-
# transport_id,
1158-
# msg,
1159-
# )
1155+
logger.debug(
1156+
"[%s] got a message %r",
1157+
transport_id,
1158+
msg,
1159+
)
11601160

11611161
if msg.controlFlags & STREAM_OPEN_BIT != 0:
11621162
raise InvalidMessageException(
@@ -1179,13 +1179,6 @@ async def _serve(
11791179
case other:
11801180
assert_never(other)
11811181

1182-
# TODO: Delete me
1183-
logger.debug(
1184-
"[%s] got a message %r",
1185-
transport_id,
1186-
msg,
1187-
)
1188-
11891182
reset_session_close_countdown()
11901183

11911184
# Shortcut to avoid processing ack packets

0 commit comments

Comments
 (0)