mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
✨ Show activation error details for trigger nodes (#1787)
* ⚡ Implement error details in toast notification * ⚡ Refactor error notification * ⚡ Pipe activation error in prod mode to FE * ⚡ Add node name to activation error details * ⚡ Disable ignoring with ts-check * 📝 fix spelling Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
This commit is contained in:
@@ -313,7 +313,6 @@ export class ActiveWorkflowRunner {
|
||||
|
||||
try {
|
||||
await Db.collections.Webhook?.insert(webhook);
|
||||
|
||||
const webhookExists = await workflow.runWebhookMethod('checkExists', webhookData, NodeExecuteFunctions, mode, activation, false);
|
||||
if (webhookExists !== true) {
|
||||
// If webhook does not exist yet create it
|
||||
@@ -341,7 +340,7 @@ export class ActiveWorkflowRunner {
|
||||
errorMessage = error.message;
|
||||
}
|
||||
|
||||
throw new Error(errorMessage);
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
// Save static data!
|
||||
|
||||
Reference in New Issue
Block a user