NCATS-Tangerine / beacon-aggregator

A web service that operates over the Beacon network to provide a single software interface over the all the Beacons
Other
2 stars 0 forks source link

saves beaconsHarvested in QueryTracker even if beacon gave error #53

Closed isuen closed 6 years ago

isuen commented 6 years ago

We should look into not saving the beacon into beaconsHarvested if the beacon gives back an error, or else all future queries with the same keywords will not try the beacon again, and the KBA will always report no information from the beacon that failed.

E.g. if post /statements?s=WD:Q1704531, and beacon 1 returns 500 error, all subsequent searches for WD:Q1704531 will give no data

What's the best way to do this?