mirror of
https://github.com/zulip/zulip.git
synced 2026-07-12 21:04:41 +08:00
Improve error reporting for trying to select an unknown message
(imported from commit 4fdc09d11e35eeed2510de6668d5a982c915f8c0)
This commit is contained in:
parent
b753eb0c1e
commit
1d2c1a00bc
@ -109,7 +109,8 @@ MessageList.prototype = {
|
||||
}
|
||||
if (this.get(id) === undefined) {
|
||||
if (!opts.use_closest) {
|
||||
blueslip.error("Selected message id not in MessageList");
|
||||
blueslip.error("Selected message id not in MessageList",
|
||||
{table_name: this.table_name, id: id});
|
||||
}
|
||||
id = this.closest_id(id);
|
||||
opts.id = id;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user