remove unnecessary print message

This commit is contained in:
Chaoguang Lin 2021-04-23 01:38:25 -07:00
parent de4753a5db
commit 36067e9685
1 changed files with 2 additions and 2 deletions

View File

@ -3190,8 +3190,8 @@ ACTOR Future<int> cli(CLIOptions opt, LineNoise* plinenoise) {
try {
db2 = API->createDatabase(opt.clusterFile.c_str());
} catch (Error& e) {
fprintf(stderr, "(CAPI)ERROR: %s (%d)\n", e.what(), e.code());
printf("(Refactoring): Unable to connect to cluster from `%s'\n", ccf->getFilename().c_str());
fprintf(stderr, "ERROR: %s (%d)\n", e.what(), e.code());
printf("Unable to connect to cluster from `%s'\n", ccf->getFilename().c_str());
return 1;
}