File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -73,14 +73,19 @@ CRTReaderApplication::generate_modules(const confmodel::Session* session) const
7373 for (auto rule : get_queue_rules ()) {
7474 auto destination_class = rule->get_destination_class ();
7575 auto data_type = rule->get_descriptor ()->get_data_type ();
76- // Why datahander here?
77- if (destination_class == " FDDataHandlerModule" ) {
76+ // Why datahander here? It is the base class for several DataHandler types (e.g. FDDataHandlerModule,
77+ // SNBDataHandlerModule)
78+ if (destination_class == " DataHandlerModule" ) {
7879 if (data_type != " DataRequest" ) {
7980 dlh_input_qdesc = rule->get_descriptor ();
8081 }
8182 }
8283 }
8384
85+ if (dlh_input_qdesc == nullptr ) {
86+ throw (BadConf (ERS_HERE, " No data link handler input queue descriptor given" ));
87+ }
88+
8489 //
8590 // Scan Detector 2 DAQ connections to extract sender, receiver and stream information
8691 //
You can’t perform that action at this time.
0 commit comments