Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

message_list: Fix misported blueslip.fatal call.

Tim Abbott826685f0eeeb
diff --git a/static/js/message_list.js b/static/js/message_list.js
index bf1fc71bc34..f1f2c1a34a5 100644
--- a/static/js/message_list.js
+++ b/static/js/message_list.js
@@ -191,7 +191,8 @@ export class MessageList {
id,
items_length: this.data.num_items(),
};
- throw new Error("Cannot select id -1", error_data);
+ blueslip.error("Cannot select id -1", error_data);
+ throw new Error("Cannot select id -1");
}
id = closest_id;