mirror of
https://github.com/logos-messaging/go-libp2p-rendezvous.git
synced 2026-01-20 13:43:10 +00:00
annotate registration error
This commit is contained in:
parent
7e5664ce7c
commit
6a1176f844
2
proto.go
2
proto.go
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user