mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 20:35:02 +00:00
Fix API config validation not taking default options into account
This commit is contained in:
parent
a3f423a1d6
commit
a2d5bb51a7
3 changed files with 8 additions and 4 deletions
|
@ -40,6 +40,7 @@ export function getPluginConfigPreprocessor(
|
|||
? decodeAndValidateStrict(blueprint.configSchema, options.config)
|
||||
: options.config;
|
||||
if (decodedConfig instanceof StrictValidationError) {
|
||||
console.log("o", options);
|
||||
throw decodedConfig;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue