mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-10 08:27:04 +00:00
BasicRelayClient collapsed a connection failure into a message string built from the throwable's text alone. Message text is localized and inconsistent across platforms, so a listener can't reliably tell a busy relay (a connect timeout) from a dead one (bad domain / TLS misconfig) from it. Always append the exception class name (SocketTimeoutException / UnknownHostException / SSLHandshakeException / ConnectException …), which is stable, so listeners can classify the failure by type. Message text is preserved; the type is added in parentheses. Updated the one test that pinned the old format.