Skip to content
Snippets Groups Projects

Add continue to error case

Merged Jonah Husson requested to merge hotfix/hash-not-found into release
2 files
+ 3
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -216,6 +216,7 @@ func notifyUser(ephID int64, data []*notifications.Data, apnsClient *apns.ApnsCo
u, err := db.GetUserByHash(e.TransmissionRSAHash)
if err != nil {
jww.ERROR.Printf("Failed to lookup user with tRSA hash %+v: %+v", e.TransmissionRSAHash, err)
continue
}
isAPNS := !strings.Contains(u.Token, ":")
Loading