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 360665 fb3190b6eb58
parent 360664 79fcc56007c1
child 360666 162c51ae07c7
push id43423
push usereoger@mozilla.com
push dateThu, 25 May 2017 17:31:51 +0000
treeherderautoland@fb3190b6eb58 [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 => {