From f4ec979af4d1b9aab1ff02aab2c7b3c585d5bd7b Mon Sep 17 00:00:00 2001 From: djugei Date: Thu, 16 May 2024 10:55:24 +0200 Subject: [PATCH] print traceback on crash --- client/src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/src/main.rs b/client/src/main.rs index 94e0a30..5073060 100644 --- a/client/src/main.rs +++ b/client/src/main.rs @@ -264,6 +264,9 @@ fn upgrade(server: Url, blacklist: Vec, delta_cache: PathBuf, multi: MultiP match res.unwrap() { Err(e) => { error!("{:?}", e); + for cause in e.chain() { + error!("caused by: {:#}", cause); + } error!("if the error is temporary, you can try running the command again"); lasterror = Some(e); }