fix: move error msg from tsc to shell

This commit is contained in:
dapan1121 2023-04-25 09:00:41 +08:00
parent 28bff83096
commit 655774c32e
1 changed files with 1 additions and 0 deletions

View File

@ -1115,6 +1115,7 @@ int32_t shellExecute() {
}
if (shell.conn == NULL) {
printf("failed to connect to server, reason: %s\n", taos_errstr(NULL));
fflush(stdout);
return -1;
}