fix: improve error messages

This commit is contained in:
monosans
2025-09-30 07:53:39 +03:00
parent 2f41cfba16
commit e522bf45f2
5 changed files with 28 additions and 24 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ async fn get_output_path(
raw_config.output.path.clone()
};
tokio::fs::create_dir_all(&output_path).await.wrap_err_with(|| {
format!("failed to create output directory: {}", output_path.display())
format!("failed to create directory: {}", output_path.display())
})?;
Ok(output_path)
}