diff --git a/examples/example02_stream.cpp b/examples/example02_stream.cpp index cf5fcc5..f8297de 100644 --- a/examples/example02_stream.cpp +++ b/examples/example02_stream.cpp @@ -83,6 +83,7 @@ int main(int argc, char *argv[]) } case Easy::event_type::Error: { + // Errors are reported in-stream. Print error and exit. cerr << "Error: " << event.data << endl; ptr->cancel_stream(); return 1;