add additional error info to lu, and added task exit code