mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
🐛 Fix credential rename issue for active workflows #935
This commit is contained in:
parent
1401cebdc3
commit
88ccc5cb6f
|
@ -497,7 +497,11 @@ export class ActiveWorkflowRunner {
|
||||||
|
|
||||||
if (this.activeWorkflows !== null) {
|
if (this.activeWorkflows !== null) {
|
||||||
// Remove all the webhooks of the workflow
|
// Remove all the webhooks of the workflow
|
||||||
await this.removeWorkflowWebhooks(workflowId);
|
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 (this.activationErrors[workflowId] !== undefined) {
|
||||||
// If there were any activation errors delete them
|
// If there were any activation errors delete them
|
||||||
|
|
Loading…
Reference in a new issue