mercredi 25 février 2015

AWS Sns publish silently dies when device is disabled?

I am hitting a strange error when I attempt to call $sns->publish - it never returns, I am not sure if I dies silently, but I could not catch an exception or get a return code. I was able to track this down to happen when device for the token (endpoint) appears to be disabled in the SNS console. What am I doing wrong and how can I prevent the problem? I do not want to check every endpoint for being enabled since I may be pushing to 10 out of 1000. However I definitely want to continue executing my push loop. Any thoughts?





Aucun commentaire:

Enregistrer un commentaire