Bug 1367525 - Remove extra error logging during device disconnect. r=eoger
authorudara <udara.weera@gmail.com>
Wed, 24 May 2017 15:19:35 -0400
changeset 360693 fb3190b6eb58
parent 360692 79fcc56007c1
child 360694 162c51ae07c7
push id31892
push userryanvm@gmail.com
push dateFri, 26 May 2017 01:29:45 +0000
treeherdermozilla-central@c2ff59dd31bc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerseoger
bugs1367525
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1367525 - Remove extra error logging during device disconnect. r=eoger MozReview-Commit-ID: JgFvBlGwsxZ
services/fxaccounts/FxAccounts.jsm
--- a/services/fxaccounts/FxAccounts.jsm
+++ b/services/fxaccounts/FxAccounts.jsm
@@ -1567,19 +1567,16 @@ FxAccountsInternal.prototype = {
           // caused us to get here via push!), so don't make noise here.
           log.info(`Push request to disconnect, but we've already disconnected`);
           return null;
         }
         if (deviceId == localDeviceId) {
           this.notifyObservers(ON_DEVICE_DISCONNECTED_NOTIFICATION);
           return this.signOut(true);
         }
-        log.error(
-          `The device ID to disconnect doesn't match with the local device ID. ` +
-          `Local: ${localDeviceId}, ID to disconnect: ${deviceId}`);
         return null;
     });
   },
 
   handleAccountDestroyed(uid) {
     return this.currentAccountState.getUserAccountData()
       .then(data => data ? data.uid : null)
       .then(localUid => {