diff --git a/lib/commands/smapi/cli-customization-processor.js b/lib/commands/smapi/cli-customization-processor.js index 6e69a4e7..10a07735 100644 --- a/lib/commands/smapi/cli-customization-processor.js +++ b/lib/commands/smapi/cli-customization-processor.js @@ -120,7 +120,8 @@ class CliCustomizationProcessor { if (property.$ref) { const schema = this._getDefinitionSchema(property.$ref, definitions); if (!schema.enum) { - throw new CliError('Cannot unwrap more then 2 levels deep. Please use customParameters or set skipUnwrap.'); + throw new CliError('Cannot unwrap more then 2 levels deep. Please use customParameters or ' + + `set skipUnwrap for parameter ${rootName} in lib/commands/smapi/customizations/parameters.json.`); } enumOptions = schema.enum; description = schema.description || description;