add error output to dataengine