Panic instead of logging

This commit is contained in:
gdm85 2018-04-14 16:30:22 +02:00 committed by Frank Denis
parent eb5f391fa6
commit e48562441e
1 changed files with 1 additions and 3 deletions

View File

@ -10,7 +10,6 @@ import (
"strconv"
"strings"
"github.com/jedisct1/dlog"
"golang.org/x/crypto/ed25519"
)
@ -203,8 +202,7 @@ func (stamp *ServerStamp) String() string {
} else if stamp.Proto == StampProtoTypeDoH {
return stamp.dohString()
}
dlog.Fatal("Unsupported protocol")
return ""
panic("Unsupported protocol")
}
func (stamp *ServerStamp) dnsCryptString() string {