add response to error handler