From 1d2c1a00bc9fa3d050f7dce85ae2bf3a174bbee4 Mon Sep 17 00:00:00 2001 From: Zev Benjamin Date: Tue, 4 Jun 2013 15:58:33 -0400 Subject: [PATCH] Improve error reporting for trying to select an unknown message (imported from commit 4fdc09d11e35eeed2510de6668d5a982c915f8c0) --- zephyr/static/js/message_list.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zephyr/static/js/message_list.js b/zephyr/static/js/message_list.js index a78c79eac3..8913b2a87d 100644 --- a/zephyr/static/js/message_list.js +++ b/zephyr/static/js/message_list.js @@ -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;