Fix linting (whatsapp)

This commit is contained in:
Wim
2022-03-20 14:13:28 +01:00
parent 496d5b4ec7
commit 952221d3b9
2 changed files with 3 additions and 2 deletions

View File

@@ -111,8 +111,7 @@ func (b *Bwhatsapp) getSenderName(senderJid string) string {
}
// try to reload this contact
_, err := b.conn.Contacts()
if err != nil {
if _, err := b.conn.Contacts(); err != nil {
b.Log.Errorf("error on update of contacts: %v", err)
}