From 1eab048cad5c5efaa34ded71f513a9da60fd15f9 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Tue, 17 May 2016 21:53:40 -0700 Subject: [PATCH] Index connection error should say 'Connection Error'. --- src/General/Index.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/General/Index.coffee b/src/General/Index.coffee index 00f8375d8..631ec9746 100644 --- a/src/General/Index.coffee +++ b/src/General/Index.coffee @@ -515,7 +515,7 @@ Index = return if req.status not in [200, 304] - err = "Index refresh failed. Error #{req.statusText} (#{req.status})" + err = "Index refresh failed. #{if req.status then "Error #{req.statusText} (#{req.status})" else 'Connection Error'}" if notice notice.setType 'warning' notice.el.lastElementChild.textContent = err