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

BUG(sengdrid_mailer): if Ogre_city_report.pdf file missing email is not getting sent #307

Open
vfedotovs opened this issue Sep 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@vfedotovs
Copy link
Owner

Affected version: 1.5.4
Description : if Ogre_city_report.pdf file missing email is not getting sent

❯ python3.11 ./sendgrid_mailer.py
2024-09-22 15:41:59,178 [INFO ] : sendgrid_mailer_main: 124: --- Started sendgrid_mailer module ---
2024-09-22 15:41:59,178 [INFO ] : extract_file_contents: 104: Trying to read file email_body_txt_m4.txt contents.
2024-09-22 15:41:59,178 [INFO ] : extract_file_contents: 104: Trying to read file basic_price_stats.txt contents.
2024-09-22 15:41:59,179 [INFO ] : extract_file_contents: 104: Trying to read file email_body_add_dates_table.txt contents.
2024-09-22 15:41:59,179 [INFO ] : extract_file_contents: 104: Trying to read file scraped_and_removed.txt contents.
2024-09-22 15:41:59,179 [INFO ] : sendgrid_mailer_main: 148: Checking if file Ogre_city_report.pdf exists
2024-09-22 15:41:59,179 [ERROR] : sendgrid_mailer_main: 187: FileNotFoundError: Ogre_city_report.pdf was not found
2024-09-22 15:41:59,179 [ERROR] : sendgrid_mailer_main: 188: --- End sendgrid_mailer module with failure email was not sent ---

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant