Skip to content
Snippets Groups Projects
Commit f124ee27 authored by Sergey Yakubov's avatar Sergey Yakubov
Browse files

remove kafka libfor clients only build

parent a49da0c0
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,9 @@ add_subdirectory(src/data_structs)
add_subdirectory(src/version)
add_subdirectory(src/kafka_client)
if (NOT BUILD_CLIENTS_ONLY)
add_subdirectory(src/kafka_client)
endif()
add_subdirectory(src/http_client)
......
......@@ -48,7 +48,7 @@ std::string ServiceError<ServiceErrorType>::ExplainPretty(uint8_t shift) const n
}
if (cause_err_ != nullptr) {
err += "\n" + base_shift + shift_s + "caused by: ";
err += "\n" + base_shift + shift_s + cause_err_->ExplainPretty(shift + 2);
err += "\n" + base_shift + shift_s + cause_err_->ExplainPretty(static_cast<uint8_t>(shift + 2));
}
return err;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment