I think you're looking for the let-else construct?
let Ok(mut entries) = fs::read_dir(folder).await else { // log here and diverge }; // continue here