Show better errors when configuring (#1917)

* Show all errors when configuring

* Shorten some overly long msgs
This commit is contained in:
Hocuri
2020-09-21 15:06:33 +02:00
committed by GitHub
parent 987eaae0c1
commit 637d2661e8
6 changed files with 113 additions and 36 deletions

View File

@@ -30,7 +30,7 @@ pub enum Error {
error: error::Error,
},
#[error("SMTP: failed to connect: {0:?}")]
#[error("SMTP: failed to connect: {0}")]
ConnectionFailure(#[source] smtp::error::Error),
#[error("SMTP: failed to setup connection {0:?}")]