diff --git a/cwIoFlow.cpp b/cwIoFlow.cpp index d036e6d..c2a16cc 100644 --- a/cwIoFlow.cpp +++ b/cwIoFlow.cpp @@ -362,8 +362,10 @@ cw::rc_t cw::io_flow::create( handle_t& hRef, errLabel: if( rc != kOkRC ) + { + rc = cwLogError(rc,"io_flow create failed."); _destroy(p); - + } return rc;