Closed Bug 1752547 Opened 3 years ago Closed 3 years ago

Avoid console log spam in BackgroundUpdate _reasonsToNotScheduleUpdates

Categories

(Toolkit :: Application Update, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1743495

People

(Reporter: mossop, Unassigned)

Details

Whenever I run local builds I see the following logged in the console:

console.error: BackgroundUpdate:
  _reasonsToNotScheduleUpdates: Failed to check for Maintenance Service Registry Key: [Exception... "Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIUpdateProcessor.getServiceRegKeyExists]"  nsresult: "0x80004001 (NS_ERROR_NOT_IMPLEMENTED)"  location: "JS frame :: resource://gre/modules/BackgroundUpdate.jsm :: _reasonsToNotScheduleUpdates :: line 241"  data: no]

Looks like the method in question just throws on no-windows regardless and this doesn't seem like an error worth logging all the time. Can we silence this somehow?

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.