-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-Enable Endpoints before sending push and allow sending push to Topic #6
base: master
Are you sure you want to change the base?
Conversation
Tests are failing:
Is the right action to re-enable right away? Are there better errors to distinguish between a network error, bad cert, etc.? |
Are they passing on your machine? Also hosting the tests to report the errors would be noce |
I didn't write the test thats why it is failing. I will try to change it when I got time. Otherwise I'm already using this on production and work as expected. It is not necessary to check the cause of disabling the endpoint as if it would fail again you will get an error back. You need to reenable it to know what cause the failing |
If the tests are failing, it's usually because that something that wasn't supposed to change mas changed.... |
Yeah the callback inside sendToSNS has changed. The old callback is being executed insode another callback that enable the endpoint. |
Amazon SNS will set Endpoint to false when a notification service indicates to Amazon SNS that the endpoint is invalid even if it temporarily fail. We need to set it back to true