Bug 741068. (Av1) nsSuiteGlue.js: Fix typo ('ex', not 'err'). r=Callek a=Ratty
authorSerge Gautherie <sgautherie.bz@free.fr>
Sun, 01 Apr 2012 17:50:38 +0200
changeset 10687 32167786a4f1572d6bf4b928fab286c64e70fdcb
parent 10684 ad8f79a72aa22df2d5caefcd8bb28a787b8f097b
child 10688 fb70d355fbf48e7ea3d31aa943ce4c0bf421780b
push idunknown
push userunknown
push dateunknown
reviewersCallek, Ratty
bugs741068
Bug 741068. (Av1) nsSuiteGlue.js: Fix typo ('ex', not 'err'). r=Callek a=Ratty
suite/common/src/nsSuiteGlue.js
--- a/suite/common/src/nsSuiteGlue.js
+++ b/suite/common/src/nsSuiteGlue.js
@@ -744,17 +744,17 @@ SuiteGlue.prototype = {
         // Import from bookmarks.html file.
         try {
           var importer = Components.classes["@mozilla.org/browser/places/import-export-service;1"]
                                    .getService(Components.interfaces.nsIPlacesImportExportService);
           importer.importHTMLFromURI(bookmarksURI, true /* overwrite existing */);
         }
         catch(ex) {
           // Report the error, but ignore it.
-          Components.utils.reportError("bookmarks.html file could be corrupt. " + err);
+          Components.utils.reportError("bookmarks.html file could be corrupt. " + ex);
           Services.obs.removeObserver(importObserver, "bookmarks-restore-success");
           Services.obs.removeObserver(importObserver, "bookmarks-restore-failed");
         }
       }
       else
         Components.utils.reportError("Unable to find bookmarks.html file.");
 
       // Reset preferences, so we won't try to import again at next run.