From ed5b0307d734331ab7d749f4865d24f47148f9f6 Mon Sep 17 00:00:00 2001 From: galister <22305755+galister@users.noreply.github.com> Date: Sat, 10 May 2025 16:13:37 +0900 Subject: [PATCH] debug print on runtime errors --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index a65a0c4..4c72ebe 100644 --- a/src/main.rs +++ b/src/main.rs @@ -137,7 +137,7 @@ fn auto_run(running: Arc, args: Args) { Ok(()) => return, Err(BackendError::NotSupported) => (), Err(e) => { - log::error!("{e}"); + log::error!("{e:?}"); return; } } @@ -150,7 +150,7 @@ fn auto_run(running: Arc, args: Args) { Ok(()) => return, Err(BackendError::NotSupported) => (), Err(e) => { - log::error!("{e}"); + log::error!("{e:?}"); return; } }