Helps to raise an IssueTrackerException error with the value of the field which is not syncing. Allows to see the content of the replica and the issue (if applicable)
When you synchronize a custom field, but the issue on the receiving side is not updated and you don't see any error.
// throw an error with the custom field value stored in a replica debug.error("customFields."Foo".value from remote side is: " + replica.customFields."Foo"?.value)