Skip to content

Commit 2021dc9

Browse files
authored
don't log when nothing is seen (#1238)
otherwise there's a lot of messages :)
1 parent 846dbfd commit 2021dc9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

sled-agent/src/serial.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,7 @@ impl SerialConsoleBuffer {
182182
match connect_future.await {
183183
Ok((mut websocket, _)) => loop {
184184
match websocket.next().await {
185-
None => {
186-
warn!(log, "Nothing read from {}", &ws_uri);
187-
}
185+
None => {}
188186
Some(Err(e)) => {
189187
error!(
190188
log,

0 commit comments

Comments
 (0)