-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
I'm running into an issue where an error state causes a callback to be called twice.
On my end, I'm sending too much data to Geckoboard list widget. Their api hangs up and causes an EPIPE error. (This part is my fault)
When this error happens the callback gets called twice on line 45 and line 55 of GeckoPushSend.js.
I'm not sure if having a callback called twice is expected behavior, and that I should account for that possibility on my end? Or if you don't think that's expected, and this is a bug, and you would like me to submit a pull request with a fix.
My opinion is that a callback should not be called twice, but I realize this is more convention than anything thing else.
Let me know, and I'm happy to do either.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels