fix: clarify db connection error for Address not in tenant allow_list#4873
Conversation
|
No actionable comments were generated in the recent review. 🎉 📝 WalkthroughSummary by CodeRabbit
WalkthroughThe pull request refactors connection error handling by extracting inline error-inspection logic into a new exported function Assessment against linked issues
Tip Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord. Comment |
Pull Request Test Coverage Report for Build 23853481468Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
avallete
left a comment
There was a problem hiding this comment.
LGTM ! Thanks for your contribution.
What kind of change does this PR introduce?
Fixes #3064
Small DX improvement around an error message when host cannot access the DB due to network restrictions.
What is the current behavior?
Setup
go run . db pushWhat is the new behavior?
sanity check, tested without the network restrictions:
Additional context
Two things to note:
supabase db pushis thatsupabase linkseems to no longer connect directly to the db - this issue was originally filed more than a year ago.error received from server in SCRAM exchange: Wrong passwordscenario mentioned in the issue. I wonder if this is related to the changes above tosupabase link