Remove unused exception variable