mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
PluginServices: Do not throw if device control cannot be released
This commit is contained in:
committed by
Dennis Klein
parent
93eb599df7
commit
008be36125
@@ -74,7 +74,8 @@ auto PluginServices::ReleaseDeviceControl(const string& controller) -> void
|
||||
if (fDeviceController == controller) {
|
||||
fDeviceController = boost::none;
|
||||
} else {
|
||||
throw DeviceControlError{tools::ToString("Plugin '", controller, "' cannot release control because it has not taken over control.")};
|
||||
LOG(debug) << "Plugin '" << controller << "' cannot release control "
|
||||
<< "because it has no control.";
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user