Skip to content

Commit

Permalink
feat: add todo for removing panic!
Browse files Browse the repository at this point in the history
  • Loading branch information
SkuldNorniern committed Mar 13, 2024
1 parent c44d7bd commit f8892c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/net/live_fluereflow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ pub async fn online_packet_capture(arg: Args) {
let file_dir = "./output";
match fs::create_dir_all(<&str>::clone(&file_dir)) {
Ok(_) => debug!("Created directory: {}", file_dir),

// FIX:ASAP: Remove Panic, return io error instead
Err(error) => panic!("Problem creating directory: {:?}", error),
};

Expand Down

0 comments on commit f8892c6

Please sign in to comment.