Skip to content

Commit

Permalink
Fix typo in push-receiver disconnect message
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Sightler committed Dec 5, 2024
1 parent 6e56c84 commit 299c119
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/selfish-bags-tickle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ring-client-api': patch
---

Fix typo in push-receiver disconnect message
3 changes: 2 additions & 1 deletion packages/ring-client-api/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,13 +291,14 @@ export class RingApi extends Subscribed {
}
}),
)

pushReceiver.on('ON_DISCONNECT', () => {
pushReceiver.whenReady.catch((e) => {
logError(
'Connection to the push notification server has failed unexpectedly',
)
logError(
'If this happens repeatedly, verify connections to TCP/5228 are allowed and that DNS Adblock rules allow gtalk.google.com',
'If this happens repeatedly, verify connections to TCP/5228 are not blocked by firewall or IDS/IPS policies, and that DNS Adblock rules allow mtalk.google.com',
)
logError(e.message)
})
Expand Down

0 comments on commit 299c119

Please sign in to comment.