Small improvements

This commit is contained in:
Jan Oberhauser 2020-05-31 21:13:45 +02:00
parent 545547036a
commit 1f4b8f8999
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ export class ActiveWebhooks {
//check that there is not a webhook already registed with that path/method
if (this.webhookUrls[webhookKey] !== undefined) {
throw new Error('There is test wenhook registered on that path');
throw new Error(`Test-Webhook can not be activated because another one with the same method "${webhookData.httpMethod}" and path "${webhookData.path}" is already active!`);
}
if (this.workflowWebhooks[webhookData.workflowId] === undefined) {

View file

@ -133,7 +133,7 @@ export class Webhook implements INodeType {
default: '',
placeholder: 'webhook',
required: true,
description: 'The path to listen to. Slashes("/") in the path are not allowed.',
description: 'The path to listen to.',
},
{
displayName: 'Response Code',