Index connection error should say 'Connection Error'.
This commit is contained in:
parent
38d2c4c03f
commit
1eab048cad
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user