mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
fix(core): Don't report executions that have been paused as failed to rudderstack and log streams (#8501)
This commit is contained in:
parent
dac511b710
commit
39e8754784
|
@ -301,6 +301,11 @@ export class InternalHooks {
|
|||
return;
|
||||
}
|
||||
|
||||
if (runData?.status === 'waiting') {
|
||||
// No need to send telemetry or logs when the workflow hasn't finished yet.
|
||||
return;
|
||||
}
|
||||
|
||||
const promises = [];
|
||||
|
||||
const telemetryProperties: IExecutionTrackProperties = {
|
||||
|
|
|
@ -583,7 +583,7 @@ function hookFunctionsSaveWorker(): IWorkflowExecuteHooks {
|
|||
|
||||
const workflowStatusFinal = determineFinalExecutionStatus(fullRunData);
|
||||
|
||||
if (workflowStatusFinal !== 'success') {
|
||||
if (workflowStatusFinal !== 'success' && workflowStatusFinal !== 'waiting') {
|
||||
executeErrorWorkflow(
|
||||
this.workflowData,
|
||||
fullRunData,
|
||||
|
|
Loading…
Reference in a new issue