Add error message

pull/1019/head
Rongjian Lan 6 years ago
parent d7c9a5948d
commit f58d43bd59
  1. 2
      cmd/harmony/main.go

@ -242,7 +242,7 @@ func createGlobalConfig() *nodeconfig.ConfigType {
if *isGenesis {
err := consensusPriKey.DeserializeHexStr(genesisAccount.BlsPriKey)
if err != nil {
panic(fmt.Errorf("Failed to parse BLS private key: %s", genesisAccount.BlsPriKey))
panic(fmt.Errorf("Failed to parse BLS private key: %s, %s", genesisAccount.BlsPriKey, err))
}
} else {
// NewNode won't work

Loading…
Cancel
Save