提交 9a2da25b 编写于 作者: M Minglei Jin

fix(shell): print taos_connect failed reason befor exiting

上级 05a7e5e1
......@@ -87,6 +87,7 @@ TAOS *shellInit(SShellArguments *_args) {
}
if (con == NULL) {
printf("\033[31mfailed to connect to db, reason:%s\033[0m\n", taos_errstr(con));
fflush(stdout);
return con;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册