additional logs for ws connection dropping

Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
This commit is contained in:
Uncle Stinky 2024-12-15 18:19:03 +03:00
parent ae56c4baf9
commit 69f1427bf2
Signed by: st1nky
GPG Key ID: 016064BD97603B40

View File

@ -232,7 +232,7 @@ where
break; break;
} }
if let Err(e) = msg_info { if let Err(e) = msg_info {
log::error!("Shutting down websocket connection: Failed to receive data: {e}"); log::error!("Shutting down websocket connection for shard: Failed to receive data: {e}");
break; break;
} }
@ -371,7 +371,7 @@ where
break; break;
} }
if let Err(e) = msg_info { if let Err(e) = msg_info {
log::error!("Shutting down websocket connection: Failed to receive data: {e}"); log::error!("Shutting down websocket connection for feed: Failed to receive data: {e}");
break; break;
} }