[#2212] CID26225:

should have used error.value()