kopia lustrzana https://github.com/OpenDroneMap/ODM
graceful exit with no gcps
rodzic
8fc6c8e878
commit
639e195e02
|
@ -238,12 +238,14 @@ int Georef::run(int argc, char *argv[])
|
|||
}
|
||||
catch (const GeorefException& e)
|
||||
{
|
||||
log_.setIsPrintingInCout(true);
|
||||
log_ << e.what() << "\n";
|
||||
log_.print(logFile_);
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
catch (const std::exception& e)
|
||||
{
|
||||
log_.setIsPrintingInCout(true);
|
||||
log_ << "Error in Georef:\n";
|
||||
log_ << e.what() << "\n";
|
||||
log_.print(logFile_);
|
||||
|
@ -251,6 +253,7 @@ int Georef::run(int argc, char *argv[])
|
|||
}
|
||||
catch (...)
|
||||
{
|
||||
log_.setIsPrintingInCout(true);
|
||||
log_ << "Unknown error, terminating:\n";
|
||||
log_.print(logFile_);
|
||||
return EXIT_FAILURE;
|
||||
|
@ -1082,4 +1085,3 @@ void Georef::printGeorefSystem()
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue