Applied review comments and added a section for "pauseOnException".