fix: move error msg from tsc to shell
This commit is contained in:
parent
28bff83096
commit
655774c32e
|
@ -1115,6 +1115,7 @@ int32_t shellExecute() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (shell.conn == NULL) {
|
if (shell.conn == NULL) {
|
||||||
|
printf("failed to connect to server, reason: %s\n", taos_errstr(NULL));
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue