JAHIA-5496 , QA-5868  : log exception to debug