Return error if msg relay failed

This commit is contained in:
Sviatoslav Boichuk
2024-12-10 12:37:50 +02:00
parent cd35ca6e1e
commit 52f29e5f49

View File

@@ -1115,6 +1115,8 @@ impl CGWRemoteDiscovery {
"Failed to relay message! CGW{} seems to be unreachable at [{}:{}]! Error: {}",
shard_id, cl.shard.server_host, cl.shard.server_port, e
);
return Err(e);
}
return Ok(());