return ECA_PUTFAIL instead of ECA_INTERNAL when unexpected write exception occurs
This commit is contained in:
@@ -563,7 +563,7 @@ int epicsShareAPI ca_array_put_callback ( chtype type, arrayElementCount count,
|
||||
}
|
||||
catch ( ... )
|
||||
{
|
||||
caStatus = ECA_INTERNAL;
|
||||
caStatus = ECA_PUTFAIL;
|
||||
}
|
||||
return caStatus;
|
||||
}
|
||||
@@ -619,7 +619,7 @@ int epicsShareAPI ca_array_put ( chtype type, arrayElementCount count,
|
||||
}
|
||||
catch ( ... )
|
||||
{
|
||||
caStatus = ECA_INTERNAL;
|
||||
caStatus = ECA_PUTFAIL;
|
||||
}
|
||||
return caStatus;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user