Skip to content

Commit

Permalink
Add reporting what file does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
aueam committed Oct 8, 2023
1 parent e2d10ba commit cda149e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oi-pkg-checker-core/src/assets/catalogs_c.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ pub fn open_json_file(mut source_path: PathBuf) -> Value {
}

// open file
let mut file = File::open(source_path.clone()).expect("failed to open file");
let mut file = File::open(source_path.clone()).expect(&format!("failed to open file {:?}", source_path));

// get content
let mut contains = String::new();
Expand Down

0 comments on commit cda149e

Please sign in to comment.