complete add error information to output.js