diff --git a/libsql-server/src/namespace/mod.rs b/libsql-server/src/namespace/mod.rs index 2a2e3eb211..89935881bf 100644 --- a/libsql-server/src/namespace/mod.rs +++ b/libsql-server/src/namespace/mod.rs @@ -92,7 +92,9 @@ impl Namespace { self.checkpoint().await?; } self.db.shutdown().await?; - let _ = tokio::fs::remove_file(self.path.join(".sentinel")).await; + if let Err(e) = tokio::fs::remove_file(self.path.join(".sentinel")).await { + tracing::error!("unable to remove .sentinel file: {}", e); + } Ok(()) }