We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71c8437 commit f2100c6Copy full SHA for f2100c6
1 file changed
src/scanning/file_scanner.rs
@@ -131,8 +131,12 @@ pub async fn scan_file(path: String) {
131
Err(e) => logger::error(
132
format!("Failed to insert server to database: {}", e.hex(DefaultColor::Highlight.hex()))
133
).prefix("File Scanner").send().await,
134
- Ok(_) => logger::success("Saved all server to the database!".to_string())
135
- .prefix("File Scanner").send().await
+ Ok(_) => logger::success(
+ format!(
136
+ "Saved {} servers to the database!",
137
+ found_batch.len().hex(DefaultColor::Highlight.hex())
138
+ )
139
+ ).prefix("File Scanner").send().await
140
}
141
142
0 commit comments