From d22b2cddf1ee5eae72718ad81655857d4133e046 Mon Sep 17 00:00:00 2001 From: Haakan T Johansson Date: Wed, 1 Feb 2023 08:04:56 +0100 Subject: [PATCH] Report FATAL error when ext_data_clnt::setup() failed to map all items. --- r3bsource/base/R3BUcesbSource.cxx | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/r3bsource/base/R3BUcesbSource.cxx b/r3bsource/base/R3BUcesbSource.cxx index f17fe0b98..a2a82e5a5 100644 --- a/r3bsource/base/R3BUcesbSource.cxx +++ b/r3bsource/base/R3BUcesbSource.cxx @@ -172,13 +172,12 @@ Bool_t R3BUcesbSource::InitUnpackers() { R3BLOG(warn, "ext_data_clnt::setup() failed to map all items:"); ext_data_struct_info_print_map_success(fStructInfo, stderr, map_ok); - /* FairRunOnline::Init() ignores the return value from - * GetSource()->InitUnpackers(); so do a (FATAL) error. - */ - R3BLOG(error, - "ext_data_clnt::setup() mapping failure may " - "cause unexpected analysis results due to missing " - "data members. Unpacker needs fixing."); + /* FairRunOnline::Init() ignores the return value from + * GetSource()->InitUnpackers(); so do a FATAL error. + */ + R3BLOG(fatal, "ext_data_clnt::setup() mapping failure may " + "cause unexpected analysis results due to missing " + "data members. Unpacker needs fixing."); return kFALSE; }