Loading src/tools/geant4/G4ExceptionHandler.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ namespace allpix { public: G4bool Notify(const char*, const char* code, G4ExceptionSeverity severity, const char* description) override { std::string message = "Caught Geant4 exception " + std::string(code) + ": " + std::string(description); if(severity == G4ExceptionSeverity::JustWarning) { if(severity == G4ExceptionSeverity::JustWarning && std::string(code) != "pl0003") { LOG(WARNING) << message; } else if(severity == G4ExceptionSeverity::EventMustBeAborted) { throw AbortEventException(message); Loading Loading
src/tools/geant4/G4ExceptionHandler.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ namespace allpix { public: G4bool Notify(const char*, const char* code, G4ExceptionSeverity severity, const char* description) override { std::string message = "Caught Geant4 exception " + std::string(code) + ": " + std::string(description); if(severity == G4ExceptionSeverity::JustWarning) { if(severity == G4ExceptionSeverity::JustWarning && std::string(code) != "pl0003") { LOG(WARNING) << message; } else if(severity == G4ExceptionSeverity::EventMustBeAborted) { throw AbortEventException(message); Loading