Commit Graph

25 Commits

Author SHA1 Message Date
Tomi Turtiainen
a82e3c8ede
chore: Add tags to sentry's event loop blocked integration (#19126) 2025-09-03 11:57:18 +03:00
Iván Ovejero
def4e71e3d
chore: Disable event loop block integration for task runner (#18661) 2025-08-22 14:40:21 +02:00
Iván Ovejero
0f463c781d
fix(core): Dynamically import @sentry/node-native (#18586) 2025-08-20 11:31:00 +02:00
Pavel
0d4c89058d
fix(core): Ensure error.message is a string before checking for specific messages (#17417) 2025-08-19 15:40:22 +02:00
Iván Ovejero
80e9e6fc33
perf(core): Enable Sentry tracing (#18192) 2025-08-11 10:56:09 +02:00
Iván Ovejero
b8b8507ad6
perf(core): Detect event loop blocking (#17805) 2025-07-30 11:53:02 +02:00
Iván Ovejero
b64c8ad3a4
refactor: Upgrade @sentry/node and @sentry/vue to 9.42.1 (#17753) 2025-07-29 14:59:43 +02:00
Iván Ovejero
4cf9399432
refactor(core): Move ApplicationError to @n8n/errors (#17667) 2025-07-28 17:48:56 +02:00
Guillaume Jacquart
2708fe81a5
fix(core): Ignore pairedItem when checking for incorrect output data from a node (#17340) 2025-07-22 09:22:35 +02:00
कारतोफ्फेलस्क्रिप्ट™
9f8d3d3bc8
refactor(core): Overhaul commands setup. Add support for module commands (#16709)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2025-07-01 19:14:22 +02:00
कारतोफ्फेलस्क्रिप्ट™
4b11268a6e
refactor(core): Implement a new OnPubSubEvent decorator (#15688) 2025-06-04 18:32:33 +02:00
कारतोफ्फेलस्क्रिप्ट™
f8c9038c10
refactor(core): Lazy-load sentry sdk again (#15982) 2025-06-03 19:32:04 +02:00
Iván Ovejero
c229e915ea
refactor(core): Move Logger to @n8n/backend-common (#15721) 2025-05-30 12:57:47 +02:00
shortstacked
6a70841a05
fix: Align release Docker image build with lockfile (no-changelog) (#14966)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2025-05-14 08:16:50 +01:00
कारतोफ्फेलस्क्रिप्ट™
ec76505a87
refactor(core): Do not report Unrecognized node/credential type errors to Sentry (no-changelog) (#13822) 2025-03-11 11:32:47 +01:00
कारतोफ्फेलस्क्रिप्ट™
093cc982b8
fix(core): Pick up release version and date from package.json (no-changelog) (#13666) 2025-03-04 11:35:07 +01:00
Iván Ovejero
3ca99194c6
refactor(core): Migrate all errors in cli package to new hierarchy (#13478)
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2025-02-27 09:30:55 +02:00
कारतोफ्फेलस्क्रिप्ट™
ac1f651905
chore(core): Stop reporting errors to Sentry for older releases (no-changelog) (#13323) 2025-02-20 12:38:54 +01:00
Tomi Turtiainen
2ab59d775b
refactor(core): Extend error hierarchy (#12267) 2025-02-18 17:47:11 +02:00
Iván Ovejero
b4d27c49e3
fix(core): Account for pre-execution failure in scaling mode (#12815) 2025-01-23 17:26:19 +01:00
कारतोफ्फेलस्क्रिप्ट™
05858c2153
refactor(core): Reorganize n8n-core and enforce file-name casing (no-changelog) (#12667) 2025-01-17 15:17:25 +01:00
कारतोफ्फेलस्क्रिप्ट™
2d36b42798
fix(core): Fix supportedNodes for non-lazy loaded community packages (no-changelog) (#11329) 2024-12-10 14:48:39 +01:00
Tomi Turtiainen
d2238b9eac
refactor: Enable import/order rule for n8n-core (#11016) 2024-09-30 16:38:56 +03:00
Iván Ovejero
dff8456382
refactor(core): Reorganize error hierarchy in core and workflow packages (no-changelog) (#7820)
Ensure all errors in `core` and `workflow` inherit from
`ApplicationError` so that we start normalizing all the errors we report
to Sentry

Follow-up to:
https://github.com/n8n-io/n8n/pull/7757#discussion_r1404338844

### `core` package

`ApplicationError`
- `FileSystemError` (abstract)
	- `FileNotFoundError`
	- `DisallowedFilepathError`
- `BinaryDataError` (abstract)
	- `InvalidModeError`
	- `InvalidManagerError`
- `InvalidExecutionMetadataError`

### `workflow` package

`ApplicationError`
- `ExecutionBaseError` (abstract)
	- `WorkflowActivationError`
		- `WorkflowDeactivationError`
		- `WebhookTakenError`
	- `WorkflowOperationError`
		- `SubworkflowOperationError`
			- `CliWorkflowOperationError`
	- `ExpressionError`
		- `ExpressionExtensionError`
	- `NodeError` (abstract)
		- `NodeOperationError`
		- `NodeApiError`
	- `NodeSSLError`

Up next:
- Reorganize errors in `cli`
- Flatten the hierarchy in `workflow` (do we really need
`ExecutionBaseError`?)
- Remove `ExecutionError` type
- Stop throwing plain `Error`s
- Replace `severity` with `level`
- Add node and credential types as `tags`
- Add workflow IDs and execution IDs as `extras`
2023-11-27 15:33:21 +01:00
Iván Ovejero
eec2ec1ff8
refactor(core): Consolidate path-related errors in Sentry (no-changelog) (#7757)
Keep reporting [path-related
errors](https://n8nio.sentry.io/issues/4649493725) in Sentry but
consolidate them in a single error group.

Also, add `options.extra` as `meta` so they remain visible in debug
logs:

```
2023-11-24T11:50:54.852Z | error    | ReportableError: Something went wrong "{ test: 123, file: 'LoggerProxy.js', function: 'exports.error' }"
```

---------

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-11-24 14:42:46 +01:00