some more display refinements

This commit is contained in:
holger krekel
2019-10-31 22:58:07 +01:00
parent 75ba040531
commit 7f8c6d8cca

View File

@@ -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
); );
} }