mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 03:42:16 +00:00
fix(core): Improve error handling in credential decryption and parsing (#12868)
This commit is contained in:
committed by
GitHub
parent
f64c6bf9ac
commit
0c86bf2b37
@@ -14,3 +14,10 @@ export const CONFIG_FILES = 'N8N_CONFIG_FILES';
|
||||
export const BINARY_DATA_STORAGE_PATH = 'N8N_BINARY_DATA_STORAGE_PATH';
|
||||
export const UM_EMAIL_TEMPLATES_INVITE = 'N8N_UM_EMAIL_TEMPLATES_INVITE';
|
||||
export const UM_EMAIL_TEMPLATES_PWRESET = 'N8N_UM_EMAIL_TEMPLATES_PWRESET';
|
||||
|
||||
export const CREDENTIAL_ERRORS = {
|
||||
NO_DATA: 'No data is set on this credentials.',
|
||||
DECRYPTION_FAILED:
|
||||
'Credentials could not be decrypted. The likely reason is that a different "encryptionKey" was used to encrypt the data.',
|
||||
INVALID_JSON: 'Decrypted credentials data is not valid JSON.',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user