Skip to content

Commit 9604b42

Browse files
authored
Better message formatting
1 parent 2fd50e9 commit 9604b42

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

internal/config/plugin_installer.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@ func (pr PluginRepository) Fetch(out io.Writer) PluginPackages {
168168
var plugins PluginPackages
169169
if err := decoder.Decode(&plugins); err != nil {
170170
fmt.Fprintf(out, "Skipped: %s\n", pr)
171-
fmt.Fprintf(out, " Reason: Failed to decode repository data\n %s\n", err)
171+
fmt.Fprintf(out, " Reason: Failed to decode repository data:\n")
172+
fmt.Fprintf(out, " %s\n", err)
172173
return nil
173174
}
174175
if len(plugins) > 0 {

0 commit comments

Comments
 (0)