Skip to content

Commit

Permalink
terminate YCSB on exception
Browse files Browse the repository at this point in the history
  • Loading branch information
ls4154 committed Feb 28, 2023
1 parent 7ba5737 commit 7519d3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/client.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ inline int ClientThread(ycsbc::DB *db, ycsbc::CoreWorkload *wl, const int num_op
return ops;
} catch(const utils::Exception& e) {
std::cerr<<"Caught exception: "<<e.what()<<std::endl;
return -1;
exit(1);
}
}

Expand Down

0 comments on commit 7519d3b

Please sign in to comment.