diff --git a/lib/https/post.js b/lib/https/post.js index 2cc13ba..f3114f3 100644 --- a/lib/https/post.js +++ b/lib/https/post.js @@ -22,7 +22,9 @@ module.exports = function (url, options, cb) { }; } } catch (error) { - cb(error); + return process.nextTick(function () { + cb(error); + }); } // Set method to POST and call it