Use unused return value: On glob() error, print error msg
This commit is contained in:
parent
fb15a57a88
commit
20dfd661d4
1 changed files with 6 additions and 1 deletions
|
@ -327,7 +327,12 @@ impl Store {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
})
|
||||||
|
.map_err(|e| {
|
||||||
|
error!("Could not glob: '{}'", globstr);
|
||||||
|
debug!("Could not glob(): {:?}", e);
|
||||||
|
})
|
||||||
|
.ok();
|
||||||
res
|
res
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue