improved create channel unexpected exception diagnostic

This commit is contained in:
Jeff Hill
2009-08-14 19:12:50 +00:00
parent 2fb6b2100f
commit 782ff1b303
+7
View File
@@ -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;
}