internal: fix crash when port 9000 is in use (#4863)
fix crash when port 9000 is in use Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
@ -46,7 +46,8 @@ func (ls *LDAPServer) StartLDAPTLSServer() error {
|
||||
|
||||
ln, err := net.Listen("tcp", listen)
|
||||
if err != nil {
|
||||
ls.log.WithField("listen", listen).WithError(err).Fatalf("listen failed")
|
||||
ls.log.WithField("listen", listen).WithError(err).Warning("Failed to listen")
|
||||
return err
|
||||
}
|
||||
|
||||
proxyListener := &proxyproto.Listener{Listener: ln}
|
||||
|
Reference in New Issue
Block a user