Skip to content

Commit

Permalink
switch to throwing an exception
Browse files Browse the repository at this point in the history
  • Loading branch information
veprbl committed Mar 1, 2023
1 parent 7929569 commit 640ae31
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/algorithms/calorimetry/CalorimeterIslandCluster.cc
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,7 @@ void CalorimeterIslandCluster::AlgorithmInit(std::shared_ptr<spdlog::logger>& lo
if (eval.status()) {
std::stringstream sstr;
eval.print_error(sstr);
m_log->error(sstr.str());
japp->Quit();
throw std::runtime_error(std::format("Error evaluating adjacencyMatrix: ", sstr.str()));
}
m_log->debug("result = {}", eval.result());
return eval.result();
Expand Down

0 comments on commit 640ae31

Please sign in to comment.