vi / websocat

Command-line client for WebSockets, like netcat (or curl) for ws:// with advanced socat-like functions
MIT License
7.17k stars 278 forks source link

Print more details on I/O failure #236

Open the-sun-will-rise-tomorrow opened 7 months ago

the-sun-will-rise-tomorrow commented 7 months ago

Example:

websocat: WebSocketError: I/O failure

It would be useful to have more details than that, such as the errno received from the system call, and which system call failed.