addtl consoling
parent
657b11e36b
commit
e2eea38644
|
@ -22,7 +22,7 @@ async function startApplication() {
|
||||||
// Initialize and start workflow
|
// Initialize and start workflow
|
||||||
try {
|
try {
|
||||||
await CommentProcessor.processComments();
|
await CommentProcessor.processComments();
|
||||||
console.log('Workflow executed successfully.');
|
console.log(`${new Date()} Workflow executed successfully.`);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('An error occurred during workflow execution:', error);
|
console.error('An error occurred during workflow execution:', error);
|
||||||
}
|
}
|
||||||
|
@ -31,7 +31,7 @@ async function startApplication() {
|
||||||
setInterval(async () => {
|
setInterval(async () => {
|
||||||
try {
|
try {
|
||||||
await CommentProcessor.processComments();
|
await CommentProcessor.processComments();
|
||||||
console.log('Workflow executed successfully.');
|
console.log(`${new Date()} Workflow executed successfully.`);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('An error occurred during workflow execution:', error);
|
console.error('An error occurred during workflow execution:', error);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue