mirror of
https://github.com/chatmail/core.git
synced 2026-05-20 07:16:31 +03:00
some more display refinements
This commit is contained in:
@@ -490,7 +490,7 @@ fn export_backup(context: &Context, dir: impl AsRef<Path>) -> Result<()> {
|
|||||||
context.sql.close(context);
|
context.sql.close(context);
|
||||||
info!(
|
info!(
|
||||||
context,
|
context,
|
||||||
"Backup \"{}\" to \"{}\".",
|
"Backup '{}' to '{}'.",
|
||||||
context.get_dbfile().display(),
|
context.get_dbfile().display(),
|
||||||
dest_path_filename.display(),
|
dest_path_filename.display(),
|
||||||
);
|
);
|
||||||
@@ -499,8 +499,8 @@ fn export_backup(context: &Context, dir: impl AsRef<Path>) -> Result<()> {
|
|||||||
if !copied {
|
if !copied {
|
||||||
let s = dest_path_filename.to_string_lossy().to_string();
|
let s = dest_path_filename.to_string_lossy().to_string();
|
||||||
bail!(
|
bail!(
|
||||||
"could not copy file from {:?} to {:?}",
|
"could not copy file from '{}' to '{}'",
|
||||||
context.get_dbfile(),
|
context.get_dbfile().display(),
|
||||||
s
|
s
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user