mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(core): Switch plain errors in core to ApplicationError (no-changelog) (#7873)
Ensure all errors in `core` are `ApplicationError` or children of it and contain no variables in the message, to continue normalizing all the errors we report to Sentry Follow-up to: https://github.com/n8n-io/n8n/pull/7857
This commit is contained in:
@@ -84,9 +84,7 @@ describe('Credentials', () => {
|
||||
credentials.getData('base.otherNode');
|
||||
expect(true).toBe(false);
|
||||
} catch (e) {
|
||||
expect(e.message).toBe(
|
||||
'The node of type "base.otherNode" does not have access to credentials "testName" of type "testType".',
|
||||
);
|
||||
expect(e.message).toBe('Node does not have access to credential');
|
||||
}
|
||||
|
||||
// Get the data which will be saved in database
|
||||
|
||||
Reference in New Issue
Block a user