You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Beautify error published for failed send operation
Currently, we publish errors like:
All attempts to connect to mydomain.adam:3333/api/v2/edgedevice/ping failed: [send via eth1: interface eth1: no DNS server available send via eth0 with src IP 172.22.12.10: Get \"https://mydomain.adam:3333/api/v2/edgedevice/ping\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)]
It is hard to read, contains stutter, uses square brackets, separates
errors with only a single space and all of that makes it difficult to
read. Such error is not nice to display in the controller UI for
example.
Signed-off-by: Milan Lenco <milan@zededa.com>
0 commit comments