fix(core): Fix url in error handelling for the error Trigger (#5201)

* Add workflow id to url in error message

* fix mock message for manual execution

* Fix url missing 's'
This commit is contained in:
agobrech
2023-01-19 17:56:31 +01:00
committed by GitHub
parent 537816a336
commit 6e391755e4
2 changed files with 4 additions and 2 deletions

View File

@@ -88,7 +88,9 @@ export function executeErrorWorkflow(
let pastExecutionUrl: string | undefined;
if (executionId !== undefined) {
pastExecutionUrl = `${WebhookHelpers.getWebhookBaseUrl()}execution/${executionId}`;
pastExecutionUrl = `${WebhookHelpers.getWebhookBaseUrl()}workflow/${
workflowData.id
}/executions/${executionId}`;
}
if (fullRunData.data.resultData.error !== undefined) {