mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-27 11:20:42 +01:00
fix: handle optional config validation errors
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
00be4fca6b
commit
74f9c0ff50
1 file changed
+1
-1
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user