prevent from return if slice decoding error for EC
Merge pull request #731 from huili2/ec_dec_error

prevent from return if slice decoding error for EC