Skip to content

insights: stop insight polling if api returns an error

Warren Gifford requested to merge cw/disable-polling-on-error into main

Created by: chwarwick

Stop insight polling if an error occurs

resolves https://github.com/sourcegraph/sourcegraph/issues/37862

Test plan

Force an error and ensure GetInsightView is only called once Screen Shot 2022-06-28 at 1 05 49 PM

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading