From 83db025dd4271e9fbd9a37c041385225734a4ef9 Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Fri, 24 Jan 2025 15:21:24 +0000 Subject: [PATCH] [project-history] fix name for error in logging statement (#23110) Only the err/error fields will use the Error serializer and emit all the OError details into the log. GitOrigin-RevId: 4b0e16c00be5ea7c0aea747f49b46897ebd100cc --- services/project-history/app/js/FlushManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/project-history/app/js/FlushManager.js b/services/project-history/app/js/FlushManager.js index 8c1870bcb5..6df3b20a87 100644 --- a/services/project-history/app/js/FlushManager.js +++ b/services/project-history/app/js/FlushManager.js @@ -106,7 +106,7 @@ export function flushOldOps(options, callback) { return flushIfOld(projectId, cutoffTime, function (err) { if (err != null) { logger.warn( - { projectId, flushErr: err }, + { projectId, err }, 'error flushing old project' ) }