consolidate exception logging