Skip to content

Commit 923cebf

Browse files
committed
libsql-replication: Switch retry message to warn log level
If we fail to contact the primary, we return an error message. Let's switch to warn log level to avoid scaring users.
1 parent 21c69a6 commit 923cebf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libsql-replication/src/replicator.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,9 @@ where
224224
}
225225
Err(Error::Client(e)) if !error_printed => {
226226
if e.downcast_ref::<uuid::Error>().is_some() {
227-
tracing::error!("error connecting to primary. retrying. Verify that the libsql server version is `>=0.22` error: {e}");
227+
tracing::warn!("error connecting to primary. retrying. Verify that the libsql server version is `>=0.22` error: {e}");
228228
} else {
229-
tracing::error!("error connecting to primary. retrying. error: {e}");
229+
tracing::warn!("error connecting to primary. retrying. error: {e}");
230230
}
231231

232232
error_printed = true;

0 commit comments

Comments
 (0)