handle webhook exception