Skip to content

Commit d4cd93d

Browse files
authored
Update GeneratorHepMC.cxx
Return with false instead of stopping execution.
1 parent eb82852 commit d4cd93d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Generators/src/GeneratorHepMC.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ Bool_t GeneratorHepMC::generateEvent()
159159
tries++;
160160
} while (tries < max_tries);
161161

162-
LOG(fatal) << "HepMC event gen failed (Does the file/stream have enough events)?";
162+
LOG(error) << "HepMC event gen failed (Does the file/stream have enough events)?";
163163

164164
/** failure **/
165165
return false;

0 commit comments

Comments
 (0)