Usability of client error message when it cannot load data for suggestions [#CLICKHOUSE-2]

This commit is contained in:
Alexey Milovidov 2018-11-22 18:07:32 +03:00
parent 6f48ebbb06
commit e53eb702a1

View File

@ -184,7 +184,7 @@ public:
}
catch (...)
{
std::cerr << "Cannot load data for command line suggestions: " << getCurrentExceptionMessage(false) << "\n";
std::cerr << "Cannot load data for command line suggestions: " << getCurrentExceptionMessage(false, true) << "\n";
}
/// Note that keyword suggestions are available even if we cannot load data from server.