From 7697f2f4b17fd21597bcbe098c4d3378956b0d27 Mon Sep 17 00:00:00 2001 From: Alexey Rybalchenko Date: Wed, 16 Nov 2022 19:57:02 +0100 Subject: [PATCH] Extend error message if channel(s) was not configured before timeout --- fairmq/Device.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fairmq/Device.cxx b/fairmq/Device.cxx index 06c8ab89c..c56e342a0 100644 --- a/fairmq/Device.cxx +++ b/fairmq/Device.cxx @@ -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")); }