Sync 0.1.3: Readable errors when the other site cannot be reached
Sync 0.1.3 fixes the reason recorded when this site cannot reach the other one, for example while registering a new connection there.
The module sends those requests with Finch, but its error text expected the structs of Mint, the client underneath. A refused or timed-out connection therefore fell through to a raw dump of the error in the connection’s notification details. Now a network failure is recorded as “Connection failed:” followed by the reason, and Finch’s HTTP errors and other errors get their own short text.
No change otherwise.
Sync 0.1.3. Install or update: {:phoenix_kit_sync, "~> 0.1"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.