mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Mark missing encryption key errors as Framework error (#184424)
Resolves: #180418 This PR marks `Encrypted Saved Objects plugin is missing encryption key` errors as framework error.
This commit is contained in:
parent
cb9b7d2468
commit
9f12976c82
2 changed files with 2 additions and 2 deletions
|
@ -936,7 +936,7 @@ describe('Action Executor', () => {
|
|||
expect(e.message).toBe(
|
||||
'Unable to execute action because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.'
|
||||
);
|
||||
expect(getErrorSource(e)).toBe(TaskErrorSource.USER);
|
||||
expect(getErrorSource(e)).toBe(TaskErrorSource.FRAMEWORK);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -317,7 +317,7 @@ export class ActionExecutor {
|
|||
new Error(
|
||||
`Unable to execute action because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.`
|
||||
),
|
||||
TaskErrorSource.USER
|
||||
TaskErrorSource.FRAMEWORK
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue