fix: handle optional config validation errors

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-07-27 15:25:46 +00:00
1 parent 00be4fca6b
commit 74f9c0ff50
1 file changed
+1 -1
+1 -1
View File
@@ -2653,7 +2653,7 @@ export function pluginRoutes(
supported: true,
valid: false,
warningCount: 0,
errorCount: validation.errors.length,
errorCount: validation.errors?.length ?? 0,
secretRefCount: 0,
configKeyCount: Object.keys(body.configJson).length,
outcome: "schema_validation_failed",