BS-11577 - fix error status