Skip to content
New issue

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

Save exception errors in DB and render in admin modal #420

Open
wants to merge 1 commit into
base: 2.4
Choose a base branch
from

Conversation

simonasbudejis
Copy link

Description (*)

This PR introduces the Transport Exception message saving to the same database table as SMTP logs. By default, an "ERROR" label is displayed in the admin grid if the email fails to send. However, this does not create easy and quick access to view WHY the email failed to send. Digging this in Magento log files becomes tedious very quickly.

This PR implements the rendering of said error/exception message in the modal popup when the user selects to "View" a specific email log from the actions dropdown.

Manual testing scenarios (*)

  1. Enable SMTP module
  2. Configure the SMTP connection incorrectly so that the email fails to send
  3. Attempt to send any email; order email, invoice, etc.

@simonasbudejis simonasbudejis changed the title #1: Save exception errors in DB and render in admin modal Save exception errors in DB and render in admin modal Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant