ethyca / fides

The Privacy Engineering & Compliance Framework
https://ethyca.com/docs
Apache License 2.0
359 stars 72 forks source link

Error on testing integration if fetch fails #3715

Open jpople opened 1 year ago

jpople commented 1 year ago

Bug Description

When clicking "test integration" on the integration configuration page, if the test operation can't connect to the server (e.g. if the backend is not running) an uncaught runtime error occurs.

Steps to Reproduce

  1. View a system with a linked integration
  2. Disconnect Fides backend
  3. Click "test integration"

Expected behavior

Error should be caught

Screenshots

Screenshot 2023-06-30 at 4 02 42 PM

Additional context

See here for Allison's explanation of this and a possible solution. Simply removing the try/catch in datastore-connection didn't work, it still caused the error to occur on on the "connections grid" page.

rsilvery commented 1 year ago

@jpople did we resolve this?