diff options
Diffstat (limited to 'src/mongo/db/curop.cpp')
-rw-r--r-- | src/mongo/db/curop.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/curop.cpp b/src/mongo/db/curop.cpp index 826c7b4ecbf..453d0f115e6 100644 --- a/src/mongo/db/curop.cpp +++ b/src/mongo/db/curop.cpp @@ -480,7 +480,7 @@ bool CurOp::completeAndLogOperation(OperationContext* opCtx, "Failed to gather storage statistics for {opId} due to {reason}", "Failed to gather storage statistics for slow operation", "opId"_attr = opCtx->getOpID(), - "reason"_attr = "lock acquire timeout"_sd); + "error"_attr = "lock acquire timeout"_sd); } } catch (const ExceptionForCat<ErrorCategory::Interruption>& ex) { LOGV2_WARNING_OPTIONS( @@ -489,7 +489,7 @@ bool CurOp::completeAndLogOperation(OperationContext* opCtx, "Failed to gather storage statistics for {opId} due to {reason}", "Failed to gather storage statistics for slow operation", "opId"_attr = opCtx->getOpID(), - "reason"_attr = redact(ex)); + "error"_attr = redact(ex)); } } |