Don't add a file to the completed list if it triggered an exception.