Skip to content

Commit

Permalink
make TLE parser robust against decayed satellites in the database
Browse files Browse the repository at this point in the history
  • Loading branch information
ahupowerdns committed Jul 21, 2020
1 parent f91a9c5 commit 2fcee90
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tle.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 2fcee90

Please sign in to comment.