infof on json.compact failure

modules
Jean-Louis Huynen 2019-03-01 14:00:00 +01:00
parent 10dde24322
commit c30702a4bf
No known key found for this signature in database
GPG Key ID: 4CDEBABACE9A5DC9
1 changed files with 1 additions and 1 deletions

View File

@ -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 {