mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 01:16:31 +03:00
Resultify dc_create_folder and don't ignore its errors
This commit is contained in:
@@ -380,7 +380,7 @@ pub fn JobImexImap(context: &Context, job: &Job) -> Result<()> {
|
||||
context.free_ongoing();
|
||||
bail!("Cannot create private key or private key not available.");
|
||||
} else {
|
||||
dc_create_folder(context, ¶m);
|
||||
dc_create_folder(context, ¶m)?;
|
||||
}
|
||||
}
|
||||
let path = Path::new(param);
|
||||
|
||||
Reference in New Issue
Block a user