mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 09:26:29 +03:00
Convert anyhow errors to select_folder errors with alternate fmt
This commit is contained in:
@@ -25,7 +25,7 @@ pub enum Error {
|
|||||||
|
|
||||||
impl From<anyhow::Error> for Error {
|
impl From<anyhow::Error> for Error {
|
||||||
fn from(err: anyhow::Error) -> Error {
|
fn from(err: anyhow::Error) -> Error {
|
||||||
Error::Other(err.to_string())
|
Error::Other(format!("{:#}", err))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user