Remove redundant exception variable