mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
Show some inner errors (do not hide them with .context) (#1916)
This commit is contained in:
@@ -125,7 +125,8 @@ impl Context {
|
||||
Some(
|
||||
self.stock_string_repl_str(
|
||||
StockMessage::ConfigurationFailed,
|
||||
err.to_string(),
|
||||
// We are using Anyhow's .context() and to show the inner error, too, we need the {:#}:
|
||||
format!("{:#}", err),
|
||||
)
|
||||
.await
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user