application-research / autoretrieve

A server to make GraphSync data accessible on IPFS
22 stars 7 forks source link

warn / understand if endpoint is being lost #78

Closed willscott closed 2 years ago

willscott commented 2 years ago

Adding an extra check & logs for our hypothesis that the indexer endpoint is getting lost

elijaharita commented 2 years ago

the issue in question was fixed, and probably best not to hardcode an endpoint address this deep in the program.

if we still want better logging for this situation, i think we should use fmt.Errorf to wrap the error with some more info instead of adding an extra log statement. if not, i believe we're okay to close this.