feat(configuration): Add global configuration

also update some error messages
This commit is contained in:
Alexander Navarro 2024-04-29 19:22:45 -04:00
parent 8cd4b4b10f
commit f0485abfbb
6 changed files with 67 additions and 22 deletions

View file

@ -43,9 +43,8 @@ impl JunoRequest for GRPCServer {
let files = match file_explorer::walk_dir(&path) {
Ok(files) => files,
Err(_err) => panic!("Error reading path: {:?}", path),
Err(err) => return Err(Status::invalid_argument(err)),
};
eprintln!("DEBUGPRINT[2]: server.rs:44: files={:#?}", files);
let reply = GetFilesResponse {
files: files.iter().map(|x| x.display().to_string()).collect(),