More verbose logging of harmless-but-scary-looking exception. b=408697 r=kai a=damon

This commit is contained in:
johnath@mozilla.com 2008-04-07 13:46:50 -07:00
Родитель 30cbe4a7b1
Коммит 64c2b4c66e
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

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