better debugs
This commit is contained in:
parent
735f5f1020
commit
8f03929265
@ -42,6 +42,7 @@ function send(options, callback) {
|
||||
function sendEndToEndTestResult(topic, versionInfo, stdout, stderr, attachmentFolder, callback) {
|
||||
debug('Sending e2e test result for %s', topic);
|
||||
|
||||
debug('Creating attachements from folder ', attachmentFolder);
|
||||
fs.readdir(attachmentFolder, function (error, files) {
|
||||
var attachments = [];
|
||||
|
||||
@ -57,6 +58,8 @@ function sendEndToEndTestResult(topic, versionInfo, stdout, stderr, attachmentFo
|
||||
ContentType: 'text/plain'
|
||||
};
|
||||
});
|
||||
} else {
|
||||
debug('Error reading attachment directory: ', error);
|
||||
}
|
||||
|
||||
var mailOptions = {
|
||||
|
Loading…
Reference in New Issue
Block a user