feat: log robot run error

This commit is contained in:
karishmas6
2024-11-29 22:07:26 +05:30
parent bf2a52be3d
commit be55f8ee65

View File

@@ -621,7 +621,7 @@ async function executeRun(id: string) {
};
} catch (error: any) {
logger.log('info', `Error while running a recording with id: ${id} - ${error.message}`);
logger.log('info', `Error while running a robot with id: ${id} - ${error.message}`);
const run = await Run.findOne({ where: { runId: id } });
if (run) {
await run.update({