Ensure we catch exception while trying to log exception