doku angepasst

This commit is contained in:
SourceFellows
2020-10-21 07:42:27 +02:00
parent d91b00ec05
commit b4e327a514
2 changed files with 24 additions and 4 deletions

View File

@ -22,7 +22,7 @@ func (nn *notifier) InformAboutNewRegistrierung(registrierung *registrierung.Reg
nc, err := nats.Connect(nn.url)
if err != nil {
notifierLogger.Error("Could not connect to server: ", err)
notifierLogger.WithError(err).Error("Could not connect to server: ")
return err
}
defer nc.Close()