Browse Source

infof on json.compact failure

modules
Jean-Louis Huynen 3 years ago
parent
commit
c30702a4bf
No known key found for this signature in database GPG Key ID: 4CDEBABACE9A5DC9
  1. 2
      d4-goclient.go

2
d4-goclient.go

@ -301,7 +301,7 @@ func d4loadConfig(d4 *d4S) bool {
panic(fmt.Sprintf("Cannot read Meta-Header file: %s", err))
} else {
if err := json.Compact((*d4).mhb, data[:count]); err != nil {
fmt.Println(err)
infof("Failed to compact meta header file")
}
}
} else {

Loading…
Cancel
Save