-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
The code is allowing the callback to be called twice:
If there is no error, but the body is not a valid JSON the catch calls the callback with the parse error, then calls it again with the body.
https://github.com/jimrubenstein/node-mandrill/blob/master/mandrill.js#L42
Metadata
Metadata
Assignees
Labels
No labels