aboutsummaryrefslogtreecommitdiff
path: root/ldapserver/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'ldapserver/server.go')
-rw-r--r--ldapserver/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldapserver/server.go b/ldapserver/server.go
index 3640d0a..d4f2128 100644
--- a/ldapserver/server.go
+++ b/ldapserver/server.go
@@ -36,7 +36,7 @@ func NewServer() *Server {
// If a handler already exists for pattern, Handle panics
func (s *Server) Handle(h Handler) {
if s.Handler != nil {
- panic("LDAP: multiple Handler registrations")
+ Logger.Fatal("LDAP: multiple Handler registrations")
}
s.Handler = h
}