Skip to content

Commit

Permalink
Add debug log for error
Browse files Browse the repository at this point in the history
  • Loading branch information
timoninmaxim committed Apr 19, 2024
1 parent 107b38b commit 5cf7133
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public class CacheVersionConflictResolverImpl implements CacheVersionConflictRes
* @see CacheVersionConflictResolverImpl
*/
@GridToStringInclude
private final String conflictResolveField;
protected final String conflictResolveField;

/** Logger. */
protected final IgniteLogger log;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ private Object debugValue(Object val) {
return super.value(val);
}
catch (Exception e) {
log.debug("Can't resolve field value [field=" + conflictResolveField + ", val=" + val + ']');

return val;
}
}
Expand Down

0 comments on commit 5cf7133

Please sign in to comment.