Managed exception and refined logs