Link to SSL certificate error KB page on error

This commit is contained in:
Dan Stillman 2010-09-07 20:21:13 +00:00
parent 055f641188
commit 3fb8d66e1e

View file

@ -1736,7 +1736,8 @@ Zotero.Sync.Server = new function () {
catch (e) { catch (e) {
Zotero.debug(e); Zotero.debug(e);
} }
_error("SSL certificate error connecting to " + host); // TODO: localize
_error("SSL certificate error connecting to " + host + "\n\nSee http://zotero.org/support/kb/ssl_certificate_error for more information.");
} }
else if ((secInfo.securityState & Ci.nsIWebProgressListener.STATE_IS_BROKEN) == Ci.nsIWebProgressListener.STATE_IS_BROKEN) { else if ((secInfo.securityState & Ci.nsIWebProgressListener.STATE_IS_BROKEN) == Ci.nsIWebProgressListener.STATE_IS_BROKEN) {
_error("SSL connection error"); _error("SSL connection error");