fix: detect ip-ban error message

This commit is contained in:
ThetaDev 2024-08-10 16:26:43 +02:00
parent 41febfd05c
commit 0b8cc6ac86
2 changed files with 2 additions and 2 deletions

View file

@ -519,8 +519,7 @@ impl std::io::Write for ProgWriter {
#[tokio::main]
async fn main() {
if let Err(e) = run().await {
println!("{}", "Error:".red().bold());
println!("{}", e);
println!("{} {}", "Error:".red().bold(), e);
std::process::exit(1);
}
}