Skip to content

Commit

Permalink
fix: error message
Browse files Browse the repository at this point in the history
  • Loading branch information
c-dilks committed Sep 26, 2024
1 parent 6ac62ef commit b193702
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ namespace iguana::physics {
}
if(target_mass < 0) {
m_log->Error("Unknown target particle {:?}", target_particle);
throw std::runtime_error("Start failed");
throw std::runtime_error("Reload failed");
}
double target_px = 0.0;
double target_py = 0.0;
Expand All @@ -212,7 +212,7 @@ namespace iguana::physics {
}
else {
m_log->Error("Beam direction magnitude is not > 0");
throw ::std::runtime_error("Start failed");
throw ::std::runtime_error("Reload failed");
}

// save the configuration
Expand Down

0 comments on commit b193702

Please sign in to comment.