Skip to content

Commit b83b9db

Browse files
committed
repl: print errors with causes
1 parent a32a3b8 commit b83b9db

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- "full message view" not needed because of footers that go to contact status #4151
77
- Pick up system's light/dark mode in generated message HTML #4150
88
- Support non-persistent configuration with DELTACHAT_* env
9+
- Print deltachat-repl errors with causes. #4166
910

1011
### Fixes
1112
- Fix segmentation fault if `dc_context_unref()` is called during

deltachat-repl/src/main.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ async fn start(args: Vec<String>) -> Result<(), Error> {
359359
false
360360
}
361361
Err(err) => {
362-
println!("Error: {err}");
362+
println!("Error: {err:#}");
363363
true
364364
}
365365
}
@@ -374,7 +374,7 @@ async fn start(args: Vec<String>) -> Result<(), Error> {
374374
break;
375375
}
376376
Err(err) => {
377-
println!("Error: {err}");
377+
println!("Error: {err:#}");
378378
break;
379379
}
380380
}

0 commit comments

Comments
 (0)