addtl consoling

master
j 2024-03-31 00:21:04 -04:00
parent 657b11e36b
commit e2eea38644
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ async function startApplication() {
// Initialize and start workflow
try {
await CommentProcessor.processComments();
console.log('Workflow executed successfully.');
console.log(`${new Date()} Workflow executed successfully.`);
} catch (error) {
console.error('An error occurred during workflow execution:', error);
}
@ -31,7 +31,7 @@ async function startApplication() {
setInterval(async () => {
try {
await CommentProcessor.processComments();
console.log('Workflow executed successfully.');
console.log(`${new Date()} Workflow executed successfully.`);
} catch (error) {
console.error('An error occurred during workflow execution:', error);
}