diff --git a/x-pack/plugins/actions/server/lib/action_executor.test.ts b/x-pack/plugins/actions/server/lib/action_executor.test.ts index 560d5dc3ecea5..6e4ec1b69c876 100644 --- a/x-pack/plugins/actions/server/lib/action_executor.test.ts +++ b/x-pack/plugins/actions/server/lib/action_executor.test.ts @@ -1245,7 +1245,7 @@ describe('Action Executor', () => { ); expect(loggerMock.error).toBeCalledWith(err, { error: { stack_trace: 'foo error\n stack 1\n stack 2\n stack 3' }, - tags: ['test', '1', 'action-run-failed'], + tags: ['test', '1', 'action-run-failed', 'framework-error'], }); }); @@ -1274,7 +1274,7 @@ describe('Action Executor', () => { ); expect(loggerMock.error).toBeCalledWith(err, { error: { stack_trace: 'foo error\n stack 1\n stack 2\n stack 3' }, - tags: ['test', '1', 'action-run-failed'], + tags: ['test', '1', 'action-run-failed', 'user-error'], }); }); diff --git a/x-pack/plugins/actions/server/lib/action_executor.ts b/x-pack/plugins/actions/server/lib/action_executor.ts index 4a0b51954ba1d..a636f4b41566c 100644 --- a/x-pack/plugins/actions/server/lib/action_executor.ts +++ b/x-pack/plugins/actions/server/lib/action_executor.ts @@ -575,7 +575,7 @@ export class ActionExecutor { event.error.message = actionErrorToMessage(result); if (result.error) { logger.error(result.error, { - tags: [actionTypeId, actionId, 'action-run-failed'], + tags: [actionTypeId, actionId, 'action-run-failed', `${result.errorSource}-error`], error: { stack_trace: result.error.stack }, }); }