Skip to main content

exception_email_client

module core.utils.exception_email_client


class ExceptionEmailClient

Provide functionality to send emails when an exception occurs/is resolved.


method handle_occured_exception

handle_occured_exception(config: Config, exception: Exception)None

Send out an email that a new exception has occured.


method handle_resolved_exception

handle_resolved_exception(config: Config)None

Send out an email that all exceptions have been resolved.


method send_test_email

send_test_email(config: Config)None

Send out a test email.