poll-widget: Downgrade key error to warning.

It is an error, but it is obnoxious in dev to get these.
This commit is contained in:
Rohitt Vashishtha
2019-01-28 20:50:35 +00:00
committed by Tim Abbott
parent c176891c2e
commit a197959959
2 changed files with 5 additions and 5 deletions

View File

@@ -138,7 +138,7 @@ exports.poll_data_holder = function (is_my_poll, question, options) {
var option = key_to_option[key];
if (option === undefined) {
blueslip.error('unknown key for poll: ' + key);
blueslip.warn('unknown key for poll: ' + key);
return;
}