diff --git a/toolkit/mozapps/extensions/XPIProvider.jsm b/toolkit/mozapps/extensions/XPIProvider.jsm index 84acb815c4f..40263a3c94e 100644 --- a/toolkit/mozapps/extensions/XPIProvider.jsm +++ b/toolkit/mozapps/extensions/XPIProvider.jsm @@ -6302,7 +6302,13 @@ DirectoryInstallLocation.prototype = { let newEntry = this._readDirectoryFromFile(entry); if (!newEntry) { LOG("Deleting stale pointer file " + entry.path); - entry.remove(true); + try { + entry.remove(true); + } + catch (e) { + WARN("Failed to remove stale pointer file " + entry.path, e); + // Failing to remove the stale pointer file is ignorable + } continue; }