When error block is executed, do not execute the response block as well

Is this intentional? Had a case where the response data wasn't deserializing properly (APIs returning HTML error page) and ended up executing both blocks following a single request call.