diff options
author | Alex Auvolat <alex@adnab.me> | 2020-02-01 15:05:44 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-02-01 15:05:44 +0100 |
commit | da2c37bb955bbdfceb95bbcc48e1267716152804 (patch) | |
tree | e04a071472b81af6713d7107cdebce66ec217de2 /ldapserver/server.go | |
parent | c3bfcdf9a1c80b9ed27840f203cf3f14ef0bb113 (diff) | |
download | bottin-da2c37bb955bbdfceb95bbcc48e1267716152804.tar.gz bottin-da2c37bb955bbdfceb95bbcc48e1267716152804.zip |
Better logging
Diffstat (limited to 'ldapserver/server.go')
-rw-r--r-- | ldapserver/server.go | 2 |
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 } |