We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In sendEmailAndSaveMetadata, email sending errors are caught and only logged, but not propagated:
sendEmailAndSaveMetadata
emailSender.send(content).catch((e) => { console.error('Failed to send email', e); });
This means:
Email sending errors should be propagated so they can be:
Change the code to: await emailSender.send(content); // Let errors propagate
This allows proper error handling in actions/APIs that use these email functions.
This change would improve:
This issue was discovered when implementing email verification where users weren't seeing proper error messages when email sending failed.
The text was updated successfully, but these errors were encountered:
infomiho
No branches or pull requests
Current Behavior
In
sendEmailAndSaveMetadata
, email sending errors are caught and only logged, but not propagated:emailSender.send(content).catch((e) => {
console.error('Failed to send email', e);
});
This means:
Expected Behavior
Email sending errors should be propagated so they can be:
Proposed Solution
Change the code to: await emailSender.send(content); // Let errors propagate
This allows proper error handling in actions/APIs that use these email functions.
Impact
This change would improve:
Additional Context
This issue was discovered when implementing email verification where users weren't seeing proper error messages when email sending failed.
The text was updated successfully, but these errors were encountered: