From ea686a9d9bab8cf9a22b7de1b384597b09435df2 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Fri, 23 Feb 2024 11:13:37 -0600 Subject: [PATCH] adding debug info in file_helper.rs --- src/rust/file_helper.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rust/file_helper.rs b/src/rust/file_helper.rs index 46b10e3..183db52 100644 --- a/src/rust/file_helper.rs +++ b/src/rust/file_helper.rs @@ -126,6 +126,7 @@ impl file_helper::FileHelper { } _ => debug!("nothing"), }; + debug!("trying to load file"); let file = file.pick_file(); if let Some(file) = file { println!("loading-file: {:?}", file); @@ -138,6 +139,7 @@ impl file_helper::FileHelper { QUrl::from(string.as_str()) } } else { + error!("Couldn't load file, is xdg-desktop-portals correctly setup?"); QUrl::default() } }