|
|
@ -44,9 +44,9 @@ emitter.on('parseFromUrl.start', ({ url, columns }) => { |
|
|
|
}); |
|
|
|
|
|
|
|
// Create a new listener for the parseFromUrl.end event
|
|
|
|
emitter.on('parseFromUrl.end', ({ url, columns, filepath }) => { |
|
|
|
// log('parseFromUrl.end', `Parsed ${url} with columns ${columns.join(', ')} to ${filepath}`);
|
|
|
|
log('parseFromUrl.end', `Parsed with columns to ${filepath}`); |
|
|
|
emitter.on('parseFromUrl.end', ({ url, columns, filename }) => { |
|
|
|
// log('parseFromUrl.end', `Parsed ${url} with columns ${columns.join(', ')} to ${filename}`);
|
|
|
|
log('parseFromUrl.end', `Parsed with columns to ${filename}`); |
|
|
|
}); |
|
|
|
|
|
|
|
// Create a new listener for the parseFromUrl.error event
|
|
|
@ -131,3 +131,27 @@ emitter.on('checkLastOperationDate.updated', ({ dateFilePath, date }) => { |
|
|
|
emitter.on('checkLastOperationDate.skipped', ({ dateFilePath, date }) => { |
|
|
|
log('checkLastOperationDate.skipped', `Skipped last operation date - Date: ${date}`); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
emitter.on('mailer.parse.end.success', ({ response }) => { |
|
|
|
log('mailer.parse.end.success', response); |
|
|
|
}); |
|
|
|
emitter.on('mailer.parse.end.error', ({ error }) => { |
|
|
|
log('mailer.parse.end.error', error); |
|
|
|
}); |
|
|
|
emitter.on('mailer.parse.error.success', ({ response }) => { |
|
|
|
log('mailer.parse.error.success', response); |
|
|
|
}); |
|
|
|
emitter.on('mailer.parse.error.error', ({ error }) => { |
|
|
|
log('mailer.parse.error.error', error); |
|
|
|
}); |
|
|
|
emitter.on('mailer.parseFromUrl.error.success', ({ response }) => { |
|
|
|
log('mailer.parseFromUrl.error.success', response); |
|
|
|
}); |
|
|
|
emitter.on('mailer.parseFromUrl.error.error', ({ error }) => { |
|
|
|
log('mailer.parseFromUrl.error.error', error); |
|
|
|
}); |