chore: improve error logging in WAL prune manager (#6993)

Signed-off-by: WenyXu <wenymedia@gmail.com>
This commit is contained in:
Weny Xu
2025-09-19 15:08:28 +08:00
committed by GitHub
parent 18e4839a17
commit 74721a06ba

View File

@@ -261,12 +261,8 @@ impl WalPruneManager {
Err(error::Error::PruneTaskAlreadyRunning { topic, .. }) => {
warn!("Prune task for topic {} is already running", topic);
}
Err(e) => {
error!(
"Failed to submit prune task for topic {}: {}",
topic_name.clone(),
e
);
Err(err) => {
error!(err; "Failed to prune remote WAL for topic {}", topic_name.as_str());
}
}
});