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;
|
// cerr<<"TLE error: "<<se.what()<<endl;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
catch(DecayedException& se) {
|
||||||
|
// cerr<<"TLE error: "<<se.what()<<endl;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
if(distances.empty())
|
if(distances.empty())
|
||||||
return TLERepo::Match();
|
return TLERepo::Match();
|
||||||
|
|
Loading…
Reference in New Issue