annotate registration error

This commit is contained in:
vyzo 2018-04-20 19:20:04 +03:00
parent 7e5664ce7c
commit 6a1176f844

View File

@ -16,7 +16,7 @@ const (
type RegistrationError pb.Message_RegisterStatus
func (e RegistrationError) Error() string {
return pb.Message_RegisterStatus(e).String()
return "Registration error: " + pb.Message_RegisterStatus(e).String()
}
func newRegisterMessage(ns string, pi pstore.PeerInfo, ttl int) *pb.Message {