Skip to content

insights: better surface errors

Created by: slimsag

The backend's queryrunner runs search queries here, and there are a number of reasons that a search query could result in an error where "retrying later" is not strictly an obvious option and we have to decide what to do:

the function where these errors are produced and handled: https://sourcegraph.com/search?q=context:global+repo:%5Egithub%5C.com/sourcegraph/sourcegraph%24+lang:go+file:insights/background/queryrunner+content:%22%29+Handle%28%22&patternType=literal