Improve logging system for Pactas transaction.
Avoid exceptions when no custom object found.
Improve logging system for Pactas transaction.