Fix error log message in HttpTransact::build_error_response