better error message
This commit is contained in:
@@ -280,7 +280,7 @@ function validateSecondaryDomains(secondaryDomains, manifest) {
|
||||
}
|
||||
|
||||
for (const envName in secondaryDomains) {
|
||||
if (!(envName in httpPorts)) return new BoxError(BoxError.BAD_FIELD, `Invalid secondaryDomain in ${envName}`);
|
||||
if (!(envName in httpPorts)) return new BoxError(BoxError.BAD_FIELD, `secondaryDomain ${envName} is not listed in manifest`);
|
||||
}
|
||||
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user