regression: smtp connection error (#28942)

pull/28966/head^2
Yash Rajpal 3 years ago committed by GitHub
parent a9c7c6d1c3
commit 192dff9a06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/meteor/app/mailer/server/api.ts

@ -171,7 +171,7 @@ export const sendNoWrap = async ({
const eventResult = await Apps.triggerEvent('IPreEmailSent', { email });
Meteor.defer(() => Email.sendAsync(eventResult || email));
Meteor.defer(() => Email.sendAsync(eventResult || email).catch((e) => console.error(e)));
};
export const send = async ({

Loading…
Cancel
Save