Fix crash on mutt error
This commit is contained in:
parent
13a2f64970
commit
3d758729e5
@ -73,7 +73,7 @@ function sendText(phone, message, carrier, region, cb) {
|
||||
output(decoder.write(data));
|
||||
});
|
||||
child.on('error', function(data) {
|
||||
output('mutt failed', {email: email, data: decoder.write(data)});
|
||||
output('mutt failed', {email: emails, data: decoder.write(data)});
|
||||
cb(false);
|
||||
});
|
||||
child.on('exit', function(code, signal) {
|
||||
|
Loading…
Reference in New Issue
Block a user