emoji_picker: Improve logging for invalid emoji names.

This should help us properly investigate a bug likely involving users
clicking on emoji reactions whose name->codepoint mapping has changed.
This commit is contained in:
Tim Abbott 2020-02-25 15:26:47 -08:00
parent 9810327aad
commit 82fa72f08a
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ function get_alias_to_be_used(message_id, emoji_name) {
const codepoint = emoji_codes.name_to_codepoint[emoji_name];
aliases = emoji.default_emoji_aliases.get(codepoint);
} else {
blueslip.error("Invalid emoji name.");
blueslip.error("Invalid emoji name: " + emoji_name);
return;
}
}