Skip to content

Commit

Permalink
Nit
Browse files Browse the repository at this point in the history
  • Loading branch information
sumeet-db committed Mar 28, 2024
1 parent be0ffcc commit e9a6816
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1376,7 +1376,7 @@ trait OptimisticTransactionImpl extends TransactionalWrite
"delta.commitLarge.failure",
data = Map("exception" -> Utils.exceptionString(ex),
"operation" -> op.name,
"fromManagedCommit" -> managedCommitExceptionOpt.map(true).getOrElse(false),
"fromManagedCommit" -> managedCommitExceptionOpt.isDefined,
"fromManagedCommitConflict" -> managedCommitExceptionOpt.map(_.conflict).getOrElse(""),
"fromManagedCommitRetryable" ->
managedCommitExceptionOpt.map(_.retryable).getOrElse("")))
Expand Down Expand Up @@ -1406,7 +1406,7 @@ trait OptimisticTransactionImpl extends TransactionalWrite
data = Map(
"exception" -> Utils.exceptionString(ex),
"operation" -> op.name,
"fromManagedCommit" -> managedCommitExceptionOpt.map(true).getOrElse(false),
"fromManagedCommit" -> managedCommitExceptionOpt.isDefined,
"fromManagedCommitConflict" -> managedCommitExceptionOpt.map(_.conflict).getOrElse(""),
"fromManagedCommitRetryable" ->
managedCommitExceptionOpt.map(_.retryable).getOrElse("")))
Expand Down

0 comments on commit e9a6816

Please sign in to comment.