Log invalid stamps

This commit is contained in:
Frank Denis 2018-07-09 15:47:54 +02:00
parent 9234014f17
commit 887f6ac299
1 changed files with 1 additions and 0 deletions

View File

@ -255,6 +255,7 @@ func (source *Source) parseV2(prefix string) ([]RegisteredServer, error) {
}
stamp, err := stamps.NewServerStampFromString(stampStr)
if err != nil {
dlog.Errorf("Invalid or unsupported stamp: [%v]", stampStr)
return registeredServers, err
}
registeredServer := RegisteredServer{