-
Notifications
You must be signed in to change notification settings - Fork 7
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
SendAll sets success to true even if there are warnings and errors #6
Comments
In 19.1, everything works as expected. In 18R4, no. |
I will try to analyse the code (not mine) If there is some issue with email or token passed then if one push has been sent with success I see that success is set to (have different behaviour could be discussed, like stop at first failure, or set False if one failure, maybe return all result for each notification!) |
I saw that in the code, that success is supposed to mean that at least one message makes it through, but what I experienced was that even if all fail (which is what I was finding, because my session filenames were not email addresses), I can get a success. Since R4 compiled isn't behaving the same as interpreted, or at least as what's at the R4 tag in the repo, I can't reproduce the behavior in interpreted and offer some assistance in diagnosing it. |
My first analyse was limited to This method call apple_sendNotification that return success (maybe it a change in option like --verbose or curl behaviour change , maybe loging $cmdPush and launching the command in internal could help, see if error are in system out or in system err) |
Sometime after b27545f (I have not read through the code to see where, yet), push .sendAll can both set success to true while returning both errors and warnings, and the notification failing.
The text was updated successfully, but these errors were encountered: