add error output to webhook