can read email and click on the link
This commit is contained in:
@@ -30,6 +30,7 @@ LOG_APPOINTMENT_ERROR = "APPOINTMENT_ERROR"
|
||||
LOG_APPOINTMENT_TIMEOUT = "TIMEOUT"
|
||||
LOG_APPOINTMENT_CONTACT_NOT_FOUND = "CONTACT_NOT_FOUND"
|
||||
LOG_APPOINTMENT_SUCCESS = "SUCCESS"
|
||||
URL_VALIDATION_SUCCESS = "URL_VALIDATION_SUCCESS"
|
||||
|
||||
custom_retry_strategy = oci.retry.RetryStrategyBuilder(
|
||||
# Make up to 10 service calls
|
||||
@@ -90,6 +91,9 @@ class LogSender:
|
||||
msg = "{}, email: {}".format(result.message, result.email)
|
||||
self.send_log(msg, type=LOG_APPOINTMENT_ERROR)
|
||||
|
||||
def send_url_validation_result(self):
|
||||
self.send_log(msg='', type=URL_VALIDATION_SUCCESS)
|
||||
|
||||
def send_error(self, msg: str):
|
||||
self.send_log(msg=msg, type=LOG_ERROR)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user