Convert anyhow errors to select_folder errors with alternate fmt

This commit is contained in:
link2xt
2022-11-14 11:40:40 +00:00
parent c0ae5c0fb7
commit 7d45419724

View File

@@ -25,7 +25,7 @@ pub enum Error {
impl From<anyhow::Error> for Error {
fn from(err: anyhow::Error) -> Error {
Error::Other(err.to_string())
Error::Other(format!("{:#}", err))
}
}