From 4eed1fefa15eca4ecfe2288f4f6f387f065a61b5 Mon Sep 17 00:00:00 2001 From: Mitja Zivkovic Date: Sun, 20 Jan 2019 21:08:56 +0100 Subject: [PATCH] fix(crm): errors.Wrapf wrong type --- crm/service/notification.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crm/service/notification.go b/crm/service/notification.go index 1535b0b78..16fac1e94 100644 --- a/crm/service/notification.go +++ b/crm/service/notification.go @@ -102,7 +102,7 @@ func (s *notification) expandUserRefs(usrLookup notificationUserService, recipie // First, get userID off the table if userID, _ := strconv.ParseUint(rcpt, 10, 64); userID > 0 { if user, err := usrLookup.FindByID(userID); err != nil { - return nil, errors.Wrapf(err, "invalid recipient %s", userID) + return nil, errors.Wrapf(err, "invalid recipient %v", userID) } else { recipients[r] = user.Email + " " + user.Name }