Skip to content
Snippets Groups Projects
Commit e04e22fe authored by Giacomo Strangolino's avatar Giacomo Strangolino
Browse files

CuTangoSource: add err bool flag and msg in case of DeviceProxy connection error

parent be9edbe0
No related branches found
No related tags found
No related merge requests found
......@@ -41,5 +41,9 @@ CuData CuTangoSource::read() const {
else if(dev && d->src.isDbOp()) {
d->w.db_get(d->src, res);
}
else if(!dev) {
res[ttt::Err] = true;
res[ttt::Message] = d->dev->getMessage();
}
return res;
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment