style: Fix minor formatting issues

- Also, updated error title
This commit is contained in:
Suraj Shetty 2021-07-13 12:46:01 +05:30 committed by GitHub
parent 45cdf7a269
commit 58cb8e5dd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ class NotificationLog(Document):
try:
send_notification_email(self)
except frappe.OutgoingEmailError:
frappe.log_error(message = frappe.get_traceback(), title=_("Error Sending Notification Email."))
frappe.log_error(message=frappe.get_traceback(), title=_("Failed to send notification email"))
def get_permission_query_conditions(for_user):