Index connection error should say 'Connection Error'.

This commit is contained in:
ccd0 2016-05-17 21:53:40 -07:00
parent 38d2c4c03f
commit 1eab048cad

View File

@ -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