feat: rm execution time webhook payload
This commit is contained in:
@@ -213,7 +213,6 @@ async function processRunExecution(job: Job<ExecuteRunData>) {
|
|||||||
status: 'failed',
|
status: 'failed',
|
||||||
started_at: plainRun.startedAt,
|
started_at: plainRun.startedAt,
|
||||||
finished_at: new Date().toLocaleString(),
|
finished_at: new Date().toLocaleString(),
|
||||||
execution_time_ms: new Date().getTime() - new Date(plainRun.startedAt).getTime(),
|
|
||||||
error: {
|
error: {
|
||||||
message: "Failed: Recording not found",
|
message: "Failed: Recording not found",
|
||||||
type: 'RecodingNotFoundError'
|
type: 'RecodingNotFoundError'
|
||||||
@@ -457,7 +456,6 @@ async function processRunExecution(job: Job<ExecuteRunData>) {
|
|||||||
status: 'failed',
|
status: 'failed',
|
||||||
started_at: plainRun.startedAt,
|
started_at: plainRun.startedAt,
|
||||||
finished_at: new Date().toLocaleString(),
|
finished_at: new Date().toLocaleString(),
|
||||||
execution_time_ms: new Date().getTime() - new Date(plainRun.startedAt).getTime(),
|
|
||||||
error: {
|
error: {
|
||||||
message: executionError.message,
|
message: executionError.message,
|
||||||
stack: executionError.stack,
|
stack: executionError.stack,
|
||||||
|
|||||||
Reference in New Issue
Block a user