🐛 Fix credential rename issue for active workflows #935

This commit is contained in:
Jan Oberhauser 2020-09-23 09:42:39 +02:00
parent 1401cebdc3
commit 88ccc5cb6f

View file

@ -497,7 +497,11 @@ export class ActiveWorkflowRunner {
if (this.activeWorkflows !== null) {
// Remove all the webhooks of the workflow
try {
await this.removeWorkflowWebhooks(workflowId);
} catch (error) {
console.error(`Could not remove webhooks of workflow "${workflowId}" because of error: "${error.message}"`);
}
if (this.activationErrors[workflowId] !== undefined) {
// If there were any activation errors delete them