LOG error and set error view