Skip to content

Commit

Permalink
Merge pull request #25158 from Expensify/marcaaron-missedPusherUpdates
Browse files Browse the repository at this point in the history
Make all the Pusher logs hmmm and improve the `state_change` event
  • Loading branch information
aldo-expensify authored Aug 17, 2023
2 parents b7fdbcb + b25d708 commit 5a1b35c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/libs/PusherConnectionManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,16 @@ function init() {
break;
}
case 'connected':
Log.info('[PusherConnectionManager] connected event');
Log.hmmm('[PusherConnectionManager] connected event');
break;
case 'disconnected':
Log.info('[PusherConnectionManager] disconnected event');
Log.hmmm('[PusherConnectionManager] disconnected event');
break;
case 'state_change':
Log.hmmm('[PusherConnectionManager] state change', {states: error});
break;
default:
Log.info('[PusherConnectionManager] unhandled event', false, {eventName});
Log.hmmm('[PusherConnectionManager] unhandled event', {eventName});
break;
}
});
Expand Down

0 comments on commit 5a1b35c

Please sign in to comment.