feat: Add exit code for error
This commit is contained in:
@@ -43,13 +43,13 @@ int Recon::startReconstructions(const std::string& aDataPath, const std::string&
|
||||
RECON_INFO("startReconstructions with {0}.",aDataPath);
|
||||
|
||||
RECON_INFO("data path is invalid.");
|
||||
return -9;
|
||||
return 1;
|
||||
}
|
||||
|
||||
if(!refParser.getShotList()->isValid())
|
||||
{
|
||||
RECON_INFO("empty water path is invalid.");
|
||||
return -10;
|
||||
return 2;
|
||||
}
|
||||
//init total used receiver/emitter/motorPos
|
||||
Matrix motorPosTotal, slList, snList, rlList, rnList;
|
||||
@@ -79,7 +79,7 @@ int Recon::startReconstructions(const std::string& aDataPath, const std::string&
|
||||
}
|
||||
else
|
||||
{
|
||||
return -12;
|
||||
return 3;
|
||||
}
|
||||
|
||||
//getMeasurementMetaData
|
||||
|
||||
Reference in New Issue
Block a user