feat: log robot run error
This commit is contained in:
@@ -621,7 +621,7 @@ async function executeRun(id: string) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
} catch (error: any) {
|
} 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 } });
|
const run = await Run.findOne({ where: { runId: id } });
|
||||||
if (run) {
|
if (run) {
|
||||||
await run.update({
|
await run.update({
|
||||||
|
|||||||
Reference in New Issue
Block a user