Skip to content
This repository was archived by the owner on Feb 16, 2025. It is now read-only.

Commit d2bfb2e

Browse files
committed
Add a bit more logging
1 parent ddccb7d commit d2bfb2e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/server.rs

+2
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ async fn set_up_client(
120120

121121
for entry_path in fs::read_dir(to_path.join("applications")).unwrap() {
122122
let path = entry_path.unwrap().path();
123+
log::debug!("Looking at path: {:?}", path);
123124
if let Ok(file_text) = read_to_string(&path) {
124125
// run regex on it now
125126
let file_text = exec_regex
@@ -150,6 +151,7 @@ async fn set_up_client(
150151
&to_path.join("icons"),
151152
&to_path.join("pixmaps"),
152153
) {
154+
log::debug!("Found icon path that matches! {:?}", icon_path);
153155
match icon_path.extension().map(|p| p.to_str().unwrap()) {
154156
Some("png" | "svg") => {
155157
let file_bytes = read(icon_path).unwrap();

0 commit comments

Comments
 (0)