addtl consoling
parent
657b11e36b
commit
e2eea38644
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue