diff --git a/src/ModuleImpl.cc b/src/ModuleImpl.cc
index 6aa629c74eb6ddb07d7c60a0066ecdd3dd368f2d..88e91bf0ed8d863d97c2db1c094b1166952d95c0 100644
--- a/src/ModuleImpl.cc
+++ b/src/ModuleImpl.cc
@@ -39,8 +39,13 @@ namespace ChimeraTK {
       instance = dynamic_cast<ConfigReader*>(mod);
     }
     if(nConfigReaders != 1) {
-      throw ChimeraTK::logic_error("ApplicationModule::appConfig() called but " + std::to_string(nConfigReaders) +
-          " instances of ChimeraTK::ConfigReader have been found.");
+      std::string message = "ApplicationModule::appConfig() called but " + std::to_string(nConfigReaders) +
+                            " instances of ChimeraTK::ConfigReader have been found.";
+      // Printing the message as well; there is a situation when running under Boost::Test where this
+      // is caught by Boost and causes a weird destructor message from AppBase.cc instead with no means of
+      // finding out the actual error
+      std::cerr << message << std::endl;
+      throw ChimeraTK::logic_error(message);
     }
     return *instance;
   }