From 83291dabb3191c517aa720043ab321bbf1d9f42c Mon Sep 17 00:00:00 2001 From: kevin Date: Thu, 8 Feb 2024 10:57:08 -0500 Subject: [PATCH] cwIoFlow.cpp : Added an error message when create() fails. --- cwIoFlow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;