Removing debug exception catch blocks