catch error on send to jenkins