Don't fail import of groups as long as some imports succeed (#358)
* Don't fail import of groups as long as some imports succeed
This commit is contained in:
parent
4176d61bfc
commit
9e018c36da
|
@ -265,8 +265,15 @@ async fn run_command(
|
|||
.collect::<Vec<_>>();
|
||||
|
||||
if !errors.is_empty() {
|
||||
|
||||
if exports.is_empty() {
|
||||
return Err(FlakeInfoError::Group(errors));
|
||||
}
|
||||
warn!("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
|
||||
warn!("Some group members could not be evaluated: {}", FlakeInfoError::Group(errors));
|
||||
warn!("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
|
||||
|
||||
}
|
||||
|
||||
let hash = {
|
||||
let mut sha = sha2::Sha256::new();
|
||||
|
|
Loading…
Reference in a new issue