mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
[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:
@@ -106,7 +106,7 @@ export function flushOldOps(options, callback) {
|
|||||||
return flushIfOld(projectId, cutoffTime, function (err) {
|
return flushIfOld(projectId, cutoffTime, function (err) {
|
||||||
if (err != null) {
|
if (err != null) {
|
||||||
logger.warn(
|
logger.warn(
|
||||||
{ projectId, flushErr: err },
|
{ projectId, err },
|
||||||
'error flushing old project'
|
'error flushing old project'
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user