Skip to content

Commit 86b1ebc

Browse files
committed
Ignore mailchimp subscribe errors
1 parent 6dabf8f commit 86b1ebc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

model/User.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ User.post('save', function (user) {
232232

233233
// subscribe the user to MailChimp "Study Notes Users" list
234234
mail.subscribeUser(user, function (err) {
235-
if (err) throw err
235+
if (err) console.error('MailChimp: Failed to subscribe user ' + user.email)
236236
})
237237
})
238238

0 commit comments

Comments
 (0)