mirror of
https://gitlab.com/keys.openpgp.org/hagrid.git
synced 2025-10-06 00:23:08 +02:00
hagridctl: drop backtrace from error messages
This commit is contained in:
committed by
Vincent Breitmoser
parent
81b5426544
commit
57efbe2937
@@ -156,8 +156,8 @@ fn import_from_file(db: &KeyDatabase, input: &Path, multi_progress: &MultiProgre
|
||||
Packet::SecretKey(key) => key.fingerprint().to_hex(),
|
||||
_ => "Unknown".to_owned(),
|
||||
};
|
||||
let error = format!("{}:{:05}:{}: {}\n{}", filename, stats.count_total,
|
||||
key_fpr, e.to_string(), e.backtrace());
|
||||
let error = format!("{}:{:05}:{}: {}", filename, stats.count_total,
|
||||
key_fpr, e.to_string());
|
||||
progress_bar.println(error);
|
||||
}
|
||||
stats.update(result);
|
||||
|
Reference in New Issue
Block a user