From d42468dd1effefcc0b45841f76c621a188a6c0ed Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Tue, 16 Jun 1998 02:24:24 +0000 Subject: [PATCH] better diagnostics --- src/cas/generic/casClient.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/cas/generic/casClient.cc b/src/cas/generic/casClient.cc index afc03a56b..ee177800f 100644 --- a/src/cas/generic/casClient.cc +++ b/src/cas/generic/casClient.cc @@ -29,6 +29,9 @@ * * History * $Log$ + * Revision 1.10 1998/04/20 18:07:09 jhill + * fixed exception message for DG clients + * * Revision 1.9 1997/08/05 00:47:04 jhill * fixed warnings * @@ -569,6 +572,7 @@ caStatus casClient::sendErrWithEpicsStatus(const caHdr *pMsg, caStatus casClient::logBadIdWithFileAndLineno( const caHdr *mp, const void *dp, +const int cacStatus, const char *pFileName, const unsigned lineno ) @@ -583,8 +587,8 @@ const unsigned lineno status = this->sendErr( mp, - ECA_INTERNAL, - "Bad Resource ID at %s.%d", + cacStatus, + "Bad Resource ID detected at %s.%d", pFileName, lineno);