Fix log level + status code of the client CLI in case of error.
'return' statements were ignored, and log level was too low for an error.