Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
fix: no return warning from PrettyPrint (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba-4chain authored Aug 16, 2023
1 parent fe2257a commit 32f2135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion broadcast/pretty_print.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
func PrettyPrint(name string, v interface{}) {
vJson, err := json.MarshalIndent(v, "", " ")
if err != nil {
fmt.Errorf("Error: %s", err.Error())
fmt.Printf("Error: %+v\n", err)
}

fmt.Printf("%s: %s\n", name, vJson)
Expand Down

0 comments on commit 32f2135

Please sign in to comment.