[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
This commit is contained in:
Jakob Ackermann
2025-01-24 15:21:24 +00:00
committed by Copybot
parent abe339290a
commit 83db025dd4

View File

@@ -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'
)
}