summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-11-04 21:57:10 -0500
committerUnknwon <u@gogs.io>2015-11-04 21:57:10 -0500
commitf255b1e86dae17dc0221b537d85f25bfa72a7912 (patch)
tree7b27cb470f8f2a3772bf02e756c0c2ba6f50cd96 /modules
parent9372eedf2ea7e8ccf8b127843e592765cbc1b034 (diff)
downloadgitea-f255b1e86dae17dc0221b537d85f25bfa72a7912.tar.gz
gitea-f255b1e86dae17dc0221b537d85f25bfa72a7912.zip
#1896 fatal when no needed update task
Diffstat (limited to 'modules')
-rw-r--r--modules/auth/ldap/ldap.go2
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
}