string_validation: Standardize missing topic with missing stream name.

Co-authored-by: Shlok Patel <shlokcpatel2001@gmail.com>
This commit is contained in:
Alex Vandiver
2022-01-11 13:07:06 -08:00
parent 58c8eebda2
commit 4f482c234c
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ def check_stream_name(stream_name: str) -> None:
def check_stream_topic(topic: str) -> None:
if topic.strip() == "":
raise JsonableError(_("Topic can't be empty"))
raise JsonableError(_("Topic can't be empty!"))
for character in topic:
unicodeCategory = unicodedata.category(character)