mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-18 07:21:49 -05:00
Bump utils version and improve error message content
This commit is contained in:
@@ -123,7 +123,7 @@ def check_sms_content_char_count(content_count):
|
||||
|
||||
def check_notification_content_is_not_empty(template_with_content):
|
||||
if template_with_content.is_message_empty():
|
||||
message = 'This message is empty.'
|
||||
message = 'Your message is empty.'
|
||||
raise BadRequestError(message=message)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user