Error messages are full of Rust noise
When I have a DNS or connection error, there are lots of errors like
Failed to get namespaced resource kdash::app::pods::KubePod. Service(hyper_util::client::legacy::Error(Connect, ConnectError("dns error", Custom { kind:
Only one line is used for the error, and the error gets cut off by whatever width the terminal has.
I can guess what is going wrong based on the "dns error" part of the error bar, but that is far from human friendly error message.
If I had a smaller window even the "dns error" part wouldnt be visible.
I guess would need to parse the error or write the error structs
Thanks & Regards, Deepu
On Wed, Jan 29, 2025 at 8:57 PM John Vandenberg @.***> wrote:
When I have a DNS or connection error, there are lots of errors like
Failed to get namespaced resource kdash::app::pods::KubePod. Service(hyper_util::client::legacy::Error(Connect, ConnectError("dns error", Custom { kind:
Only one line is used for the error, and the error gets cut off by whatever width the terminal has.
I can guess what is going wrong based on the "dns error" part of the error bar, but that is far from human friendly error message. If I had a smaller window even the "dns error" part wouldnt be visible.
— Reply to this email directly, view it on GitHub https://github.com/kdash-rs/kdash/issues/484, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIOKF7S7SHMJ2RD7U3JBDT2NEXBTAVCNFSM6AAAAABWDVLMXCVHI2DSMVQWIX3LMV43ASLTON2WKOZSHAYTSMJUGE3TAMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
If you have any suggestions, a PR is welcome, I'm a bit tight on time these days