Echo the response whenever an error occurs.