| 74 | |
| 75 | int mainEntryClickHouseKeeper(int argc, char ** argv); |
| 76 | int mainEntryClickHouseKeeper(int argc, char ** argv) |
| 77 | { |
| 78 | DB::Keeper app; |
| 79 | |
| 80 | try |
| 81 | { |
| 82 | return app.run(argc, argv); |
| 83 | } |
| 84 | catch (...) |
| 85 | { |
| 86 | std::cerr << DB::getCurrentExceptionMessage(true) << "\n"; |
| 87 | auto code = DB::getCurrentExceptionCode(); |
| 88 | return static_cast<UInt8>(code) ? code : 1; |
| 89 | } |
| 90 | } |
| 91 | |
| 92 | namespace DB |
| 93 | { |
nothing calls this directly
no test coverage detected