зеркало из https://github.com/mozilla/pjs.git
More verbose logging of harmless-but-scary-looking exception. b=408697 r=kai a=damon
This commit is contained in:
Родитель
30cbe4a7b1
Коммит
64c2b4c66e
|
@ -154,7 +154,9 @@ function checkCert() {
|
|||
// We *expect* exceptions if there are problems with the certificate
|
||||
// presented by the site. Log it, just in case, but we can proceed here,
|
||||
// with appropriate sanity checks
|
||||
Components.utils.reportError(e);
|
||||
Components.utils.reportError("Attempted to connect to a site with a bad certificate in the add exception dialog. " +
|
||||
"This results in a (mostly harmless) exception being thrown. " +
|
||||
"Logged for information purposes only: " + e);
|
||||
} finally {
|
||||
gChecking = false;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче