Skip to content

Commit 20d0891

Browse files
authored
fix: Suppress error log on es::Error::Eof (#96)
1 parent 963a75c commit 20d0891

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

launchdarkly-server-sdk/src/data_source.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,14 +152,12 @@ impl DataSource for StreamingDataSource {
152152
}
153153
},
154154
Some(Err(e)) => {
155-
error!("error on event stream: {:?}", e);
156-
157155
match e {
158156
es::Error::Eof => {
159157
continue;
160158
}
161159
_ => {
162-
debug!("unhandled error; break");
160+
error!("unhandled error on event stream: {:?}", e);
163161
break;
164162
}
165163
}

0 commit comments

Comments
 (0)