Adds repeating exception capture.