diff --git a/backend/src/pluginUtils.ts b/backend/src/pluginUtils.ts index f8f9e166..75e7eb25 100644 --- a/backend/src/pluginUtils.ts +++ b/backend/src/pluginUtils.ts @@ -112,7 +112,7 @@ export function makeIoTsConfigParser>(schema: Schema) return (input: unknown) => { const error = validate(schema, input); if (error) { - throw error; + throw strictValidationErrorToConfigValidationError(error); } return input as t.TypeOf; };