n8n icon indicating copy to clipboard operation
n8n copied to clipboard

Fix crash caused by test webhooks

Open nathan818fr opened this issue 2 years ago • 1 comments

n8n crashes when a test webhook receives two requests at exactly the same time.

/usr/local/lib/node_modules/n8n/dist/src/TestWebhooks.js:62
            clearTimeout(this.testWebhookData[webhookKey].timeout);
                                                          ^

TypeError: Cannot read properties of undefined (reading 'timeout')
    at /usr/local/lib/node_modules/n8n/dist/src/TestWebhooks.js:62:59

nathan818fr avatar Jul 22 '22 01:07 nathan818fr

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jul 22 '22 01:07 CLAassistant

Thanks a lot for fixing this @nathan818fr ! Got merged.

janober avatar Aug 10 '22 09:08 janober

Got released with [email protected]

janober avatar Aug 10 '22 11:08 janober