Skip to content

Commit

Permalink
Merge pull request #61 from Lu-Fi/master
Browse files Browse the repository at this point in the history
only exit prudynt if IMP init fail and loglevel is not DEBUG
  • Loading branch information
themactep authored Dec 9, 2024
2 parents e99ef07 + c965b74 commit 13e629e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IMPSystem.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class IMPSystem

IMPSystem()
{
if( init() != 0 ) {
if( init() != 0 && Logger::level != Logger::DEBUG) {

throw std::invalid_argument("error initializing the imp system.");
};
Expand Down

0 comments on commit 13e629e

Please sign in to comment.