remove unused variable
pass exception to error view