From 77f91bf60d38b078d5dc70a8b2d8fafdf21431aa Mon Sep 17 00:00:00 2001 From: Timothy Sullivan Date: Wed, 22 Jan 2020 10:13:16 -0700 Subject: [PATCH] Add log tag --- x-pack/legacy/plugins/reporting/server/lib/get_user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/legacy/plugins/reporting/server/lib/get_user.ts b/x-pack/legacy/plugins/reporting/server/lib/get_user.ts index fac1177afff74..9ee8d9a835c89 100644 --- a/x-pack/legacy/plugins/reporting/server/lib/get_user.ts +++ b/x-pack/legacy/plugins/reporting/server/lib/get_user.ts @@ -19,7 +19,7 @@ export function getUserFactory(server: ServerFacade, logger: Logger) { try { return await server.plugins.security.getUser(request); } catch (err) { - logger.error(err); + logger.error(err, ['getUser']); return null; } };