From 782ff1b30360c4f65811a82a2231bd2b9b1c5f35 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Fri, 14 Aug 2009 19:12:50 +0000 Subject: [PATCH] improved create channel unexpected exception diagnostic --- src/ca/access.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/ca/access.cpp b/src/ca/access.cpp index f552a0cb6..85fe2b205 100644 --- a/src/ca/access.cpp +++ b/src/ca/access.cpp @@ -351,6 +351,13 @@ int epicsShareAPI ca_create_channel ( catch ( cacChannel::unsupportedByService & ) { return ECA_UNAVAILINSERV; } + catch ( std :: exception & except ) { + pcac->printFormated ( + "ca_create_channel: " + "unexpected exception was \"%s\"", + except.what () ); + return ECA_INTERNAL; + } catch ( ... ) { return ECA_INTERNAL; }