internal: make error message less confusing
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
63b3434b6f
commit
96ae68cf09
|
@ -91,7 +91,7 @@ func (ps *ProxyServer) TimerFlowCacheExpiry() {}
|
||||||
func (ps *ProxyServer) GetCertificate(serverName string) *tls.Certificate {
|
func (ps *ProxyServer) GetCertificate(serverName string) *tls.Certificate {
|
||||||
app, ok := ps.apps[serverName]
|
app, ok := ps.apps[serverName]
|
||||||
if !ok {
|
if !ok {
|
||||||
ps.log.WithField("server-name", serverName).Debug("app does not exist")
|
ps.log.WithField("server-name", serverName).Debug("failed to get certificate for ServerName")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
if app.Cert == nil {
|
if app.Cert == nil {
|
||||||
|
|
Reference in a new issue