ignore error event

This commit is contained in:
Jonathan Hui 2019-06-26 15:47:25 +10:00
parent 4513a6d49c
commit 000b99cb5e
1 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,9 @@ function addCommunityMember(opts) {
if (err) { return; }
resp.on('data', function () {});
});
req.on('error', function(error) {
/* ignore */
});
var os = require('os');
var data = {
address: opts.email