Client: "broken pipe" error when piping the client into "less"
For instance, if you run:
./tezos-client rpc get /errors | less
then after you quit less
by pressing Q
, you get:
Fatal error: exception (Sys_error "Broken pipe")
Raised by primitive operation at file "format.ml", line 981, characters 50-58
Called from file "format.ml", line 1262, characters 32-48
Called from file "format.ml", line 1258, characters 4-20
Called from file "format.ml", line 1265, characters 32-48
Called from file "format.ml", line 1252, characters 4-20
Called from file "format.ml", line 1252, characters 4-20
Called from file "format.ml", line 1313, characters 16-34
Called from file "src/lib_client_base_unix/client_main_run.ml", line 397, characters 10-158
Called from file "src/core/lwt.ml", line 2047, characters 23-28
Re-raised at file "src/core/lwt.ml", line 2998, characters 20-29
Called from file "src/unix/lwt_main.ml", line 26, characters 8-18
Called from file "src/lib_client_base_unix/client_main_run.ml", line 415, characters 17-92
Called from file "src/bin_client/main_client.ml", line 163, characters 2-101