Bug 1367525 - Remove extra error logging during device disconnect. r?eoger draft
authorudara <udara.weera@gmail.com>
Wed, 24 May 2017 15:19:35 -0400
changeset 583924 f8451dc9f604
parent 583779 37d777d87200
child 630255 80e5d7dc5fc4
push id60603
push userbmo:udara.weera@gmail.com
push dateWed, 24 May 2017 19:58:43 +0000
reviewerseoger
bugs1367525
milestone55.0a1
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 => {