Changes improper use of ERROR() to FAILURE().