diff options
author | Unknwon <u@gogs.io> | 2015-11-04 21:57:10 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-04 21:57:10 -0500 |
commit | f255b1e86dae17dc0221b537d85f25bfa72a7912 (patch) | |
tree | 7b27cb470f8f2a3772bf02e756c0c2ba6f50cd96 /modules | |
parent | 9372eedf2ea7e8ccf8b127843e592765cbc1b034 (diff) | |
download | gitea-f255b1e86dae17dc0221b537d85f25bfa72a7912.tar.gz gitea-f255b1e86dae17dc0221b537d85f25bfa72a7912.zip |
#1896 fatal when no needed update task
Diffstat (limited to 'modules')
-rw-r--r-- | modules/auth/ldap/ldap.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auth/ldap/ldap.go b/modules/auth/ldap/ldap.go index 74a36d5e65..a00bcf8514 100644 --- a/modules/auth/ldap/ldap.go +++ b/modules/auth/ldap/ldap.go @@ -130,7 +130,7 @@ func (ls *Source) SearchEntry(name, passwd string, directBind bool) (string, str l, err := ldapDial(ls) if err != nil { - log.Error(4, "LDAP Connect error, %s:%v", ls.Host, err) + log.Error(4, "LDAP Connect error (%s): %v", ls.Host, err) ls.Enabled = false return "", "", "", false, false } |