Skip to content

Commit f8c1b57

Browse files
committed
Treat InvalidParameter error as indicating a missing component
1 parent 8e269f8 commit f8c1b57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ fn components_validations() -> (Vec<Box<dyn Component>>, Vec<ValidateKind>) {
9595
} else {
9696
ValidateKind::Mismatch
9797
},
98-
Err(err) => if err == Error::NotFound {
98+
Err(err) => if err == Error::NotFound || err == Error::InvalidParameter {
9999
ValidateKind::NotFound
100100
} else {
101101
ValidateKind::Error(err)

0 commit comments

Comments
 (0)