mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 16:46:47 +00:00
Extend error message if channel(s) was not configured before timeout
This commit is contained in:
parent
87baf9749d
commit
7697f2f4b1
|
@ -317,6 +317,10 @@ void Device::ConnectWrapper()
|
|||
|
||||
if (numAttempts++ > maxAttempts) {
|
||||
LOG(error) << "could not connect all channels after " << fInitializationTimeoutInS << " attempts";
|
||||
LOG(error) << "following channels are still invalid:";
|
||||
for (auto& chan : fUninitializedConnectingChannels) {
|
||||
LOG(error) << "channel: " << *chan;
|
||||
}
|
||||
throw runtime_error(tools::ToString("could not connect all channels after ", fInitializationTimeoutInS, " attempts"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user