Move error handling into producer code snippets

In the getting started guide, the error handling was moved into the C++ code snippets for the consumer. This MR should do the same: move the error handling into the C++ code snippets for the producer

Merge request reports

Loading