We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c0571cb + 5e93e50 commit da06979Copy full SHA for da06979
1 file changed
src/TRestGeant4QuenchingProcess.cxx
@@ -156,8 +156,8 @@ void TRestGeant4QuenchingProcess::InitProcess() {
156
}
157
158
if (physicalVolumes.empty()) {
159
- cerr << "TRestGeant4QuenchingProcess: No volume found matching expression " << userVolume << endl;
160
- exit(1);
+ RESTWarning << "TRestGeant4QuenchingProcess: No volume found matching expression: " << userVolume
+ << RESTendl;
161
162
163
for (const auto& physicalVolume : physicalVolumes) {
0 commit comments