Client: minor cosmetic change

This commit is contained in:
Benjamin Canou 2018-06-21 00:24:18 +02:00
parent 89c018f31b
commit a57c1edec1

View File

@ -183,11 +183,13 @@ let main select_commands =
Format.eprintf "@{<error>@{<title>Fatal error@}@} unknown protocol version.@." ;
Lwt.return 1
| Failure message ->
Format.eprintf "@{<error>@{<title>Fatal error@}@} @[<hov 0>%a@]@."
Format.eprintf "@{<error>@{<title>Fatal error@}@}@.\
\ @[<h 0>%a@]@."
Format.pp_print_text message ;
Lwt.return 1
| exn ->
Format.printf "@{<error>@{<title>Fatal error@}@} @[<hov 0>%a@]@."
Format.printf "@{<error>@{<title>Fatal error@}@}@.\
\ @[<h 0>%a@]@."
Format.pp_print_text (Printexc.to_string exn) ;
Lwt.return 1
end >>= fun retcode ->