Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugin/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func (p *Plugin) Init(ctx context.Context, spec []byte, options NewClientOptions
return fmt.Errorf("failed to unmarshal plugin spec: %w", err)
}
if err := p.schemaValidator.Validate(v); err != nil {
return fmt.Errorf("plugin spec is invalid: %w", err)
p.logger.Err(err).Msg("failed JSON schema validation for spec")
}
}

Expand Down