supabase-community / seed

Automatically seed your database with production-like dummy data based on your schema for local development and testing.
MIT License
483 stars 19 forks source link

fix: provide feedback about init connection #120

Closed avallete closed 7 months ago

avallete commented 7 months ago

Fixes S-2067

See: https://www.loom.com/share/2f0c7b0b2b92482b8afd3c2697c79e48

linear[bot] commented 7 months ago
S-2067 Fix handle error better for adapter error in init

Had users being confused multiples times because they only see the spinner waiting for connection during the init command and doesn't understand why it fail. [https://discord.com/channels/788353076129038346/1230021543942160404/1230021543942160404](https://discord.com/channels/788353076129038346/1230021543942160404/1230021543942160404) [https://discord.com/channels/788353076129038346/1228053089848660050](https://discord.com/channels/788353076129038346/1228053089848660050) Even carel had the issue: [https://discord.com/channels/788353076129038346/914821651017908234/1229742445399380048](https://discord.com/channels/788353076129038346/914821651017908234/1229742445399380048) We should handle errors better and display readable messages back to the user in the terminal