v0.1.3-pre.013-fix.001

This commit is contained in:
2026-08-16 06:06:51 +02:00
parent 9549303ed5
commit 299a0cb2fc
3 changed files with 69 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
// file: crates/ksp-config-lib/src/persistence.rs
// version: 1
// version: 2
static NEXT_TEMPORARY_FILE_ID: std::sync::atomic::AtomicU64 = std::sync::atomic::AtomicU64::new(1);
@@ -98,7 +98,13 @@ fn cleanup_temporary_file(path: &std::path::Path) {
if let std::result::Result::Err(error) = removal
&& error.kind() != std::io::ErrorKind::NotFound
{
ksp_logging_lib::warn!(target: "ksp-config-lib", domain: "config.persistence", path = %path.to_string_lossy(), error = %error, "unable to cleanup temporary Config file");
ksp_logging_lib::warn!(
target: "ksp-config-lib",
domain = "config.persistence",
path = %path.to_string_lossy(),
error = %error,
"unable to cleanup temporary Config file"
);
}
}