add test for skipping exception logging