|
|
@@ -978,7 +978,7 @@ func GenDoc(ctx *cli.Context) {
|
|
|
if data, err := json.MarshalIndent(v, "", " "); err == nil {
|
|
|
output = append(output, fmt.Sprintf("### %s\n\n%s\n\nExample:\n```json\n%s\n```", name, desc, data))
|
|
|
} else {
|
|
|
- log.Error("Error generating output", err)
|
|
|
+ log.Error("Error generating output", "err", err)
|
|
|
}
|
|
|
}
|
|
|
)
|