make TLE parser robust against decayed satellites in the database
parent
f91a9c588f
commit
2fcee90254
5
tle.cc
5
tle.cc
|
@ -101,6 +101,11 @@ TLERepo::Match TLERepo::getBestMatch(time_t now, double x, double y, double z, T
|
|||
// cerr<<"TLE error: "<<se.what()<<endl;
|
||||
continue;
|
||||
}
|
||||
catch(DecayedException& se) {
|
||||
// cerr<<"TLE error: "<<se.what()<<endl;
|
||||
continue;
|
||||
}
|
||||
|
||||
}
|
||||
if(distances.empty())
|
||||
return TLERepo::Match();
|
||||
|
|
Loading…
Reference in New Issue