Commit e166f17
database-utils: Provide more detail on parse failure.
If the upstream db url fails to parse due to special characters in the
password, it can result in confusing error messages like "Invalid port
number" because the parser doesn't fail until a later element in the
uri.
This commit adds more detail to the error message recommending that the
user percent-encode special characters as well as point to our
public documentation (since there may be other issues that cause the url
to fail parsing, and it's not easy to provide detailed guidance for
every possible case).
Release-Note-Core: Provided a better error message and guidance for
passwords that include special characters, which must be
percent-encoded.
Change-Id: I86a8f0ef3cc57eb9b1a9a0d956826c407002bc47
Reviewed-on: https://gerrit.readyset.name/c/readyset/+/5837
Reviewed-by: Dan Wilbanks <[email protected]>
Tested-by: Buildkite CI1 parent c92db77 commit e166f17
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
0 commit comments