Skip to content

Commit

Permalink
More logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanabx committed Apr 18, 2024
1 parent b6758db commit 7b1e990
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ async fn set_up_client(
for entry_path in fs::read_dir(to_path.join("applications")).unwrap() {
let path_buf = entry_path.unwrap().path();
log::debug!("Looking at path: {:?}", path_buf);
if !path_buf.exists() {
log::warn!("Path {:?} doesn't exist!",path_buf);
continue;
}
match read_to_string(&path_buf) {
Ok(file_text) => {
// run regex on it now
Expand Down

0 comments on commit 7b1e990

Please sign in to comment.