don't upsert if audit log doesn't have medipost_private_message_id, improve logging
This commit is contained in:
@@ -163,8 +163,9 @@ async function sendAnalysisPackageOrderEmail({
|
||||
partnerLocationName,
|
||||
language,
|
||||
});
|
||||
console.info(`Successfully sent analysis package order email to ${email}`);
|
||||
} catch (error) {
|
||||
console.error("Failed to send email", error);
|
||||
console.error(`Failed to send analysis package order email to ${email}`, error);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user