add empty line after error messages in client

This commit is contained in:
Alexander Kuzmenkov 2021-01-27 22:52:18 +03:00
parent ccf332ea7e
commit 3f305cecc3

View File

@ -931,13 +931,13 @@ private:
} }
std::cerr << "Received exception from server (version " std::cerr << "Received exception from server (version "
<< server_version << "):" << std::endl << "Code: " << server_version << "):" << std::endl << "Code: "
<< server_exception->code() << ". " << text << std::endl; << server_exception->code() << ". " << text << std::endl << std::endl;
} }
if (client_exception) if (client_exception)
{ {
fmt::print(stderr, fmt::print(stderr,
"Error on processing query '{}':\n{}\n", "Error on processing query '{}':\n{}\n\n",
full_query, client_exception->message()); full_query, client_exception->message());
} }