Fix error handling in StartRadiusServer()

This commit is contained in:
Yang Luo
2023-09-25 20:55:02 +08:00
parent aab6a799fe
commit fba0866cd6
3 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ func StartLdapServer() {
server.Handle(routes)
err := server.ListenAndServe("0.0.0.0:" + conf.GetConfigString("ldapServerPort"))
if err != nil {
log.Printf("StartLdapServer() failed, ErrMsg = %s", err.Error())
log.Printf("StartLdapServer() failed, err = %s", err.Error())
}
}