From 872c1096a69ea5bdb1ac03c289a36602cec51fb2 Mon Sep 17 00:00:00 2001 From: Bill Thiede Date: Wed, 24 Feb 2021 07:12:14 -0800 Subject: [PATCH] Better error log messaging. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index bb9b186..a3613a9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -617,7 +617,7 @@ impl MovieLibrary { Some((path.to_string_lossy().into_owned(), json)) } Err(e) => { - error!("{}", e); + error!("failed to open {}: {}", path.to_string_lossy(), e); None } }