Skip to content
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

Cannot send notification because of Broken Pipe error #54

Open
jayztemplier opened this issue Sep 21, 2012 · 1 comment
Open

Cannot send notification because of Broken Pipe error #54

jayztemplier opened this issue Sep 21, 2012 · 1 comment

Comments

@jayztemplier
Copy link

Hey!

I have a problem with the gem, and maybe it's because of how I use it.

I didn't create any APN::App, I use APN::Device and APN::Notification to send individual notifications.
My problem is that I always register an Broken Pipe exception when I try to send like 10 notifications ... and I don't know why it happens, or how to fix that?

Then, when an exception is raised, we have no way to know which notification object raised this exception ... I would like to know it to mark it as "raising an exception" and so I'll not try to send it again, is it possible?

Thanks you in advance for your help!

Jeremy.

@breiko83
Copy link

Check out the solution here: #32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants