aboutsummaryrefslogtreecommitdiff
path: root/write.go
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-02-01 15:05:44 +0100
committerAlex Auvolat <alex@adnab.me>2020-02-01 15:05:44 +0100
commitda2c37bb955bbdfceb95bbcc48e1267716152804 (patch)
treee04a071472b81af6713d7107cdebce66ec217de2 /write.go
parentc3bfcdf9a1c80b9ed27840f203cf3f14ef0bb113 (diff)
downloadbottin-da2c37bb955bbdfceb95bbcc48e1267716152804.tar.gz
bottin-da2c37bb955bbdfceb95bbcc48e1267716152804.zip
Better logging
Diffstat (limited to 'write.go')
-rw-r--r--write.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/write.go b/write.go
index 868761f..492ac99 100644
--- a/write.go
+++ b/write.go
@@ -337,7 +337,7 @@ func (server *Server) handleModifyInternal(state *State, r *message.ModifyReques
continue
}
if itemDN != dn {
- panic("itemDN != dn in handleModifyInternal")
+ logger.Fatal("itemDN != dn in handleModifyInternal")
}
vals, err := parseValue(item.Value)
if err != nil {