(String[] args)
| 134 | } |
| 135 | |
| 136 | public static void main(String[] args) { |
| 137 | try { |
| 138 | new ServerMain(args).start(true); |
| 139 | } catch (Bootstrap.BootstrapException e) { |
| 140 | if (e.isSilentStacktrace()) { |
| 141 | System.err.println(e.getMessage()); |
| 142 | } else { |
| 143 | //noinspection CallToPrintStackTrace |
| 144 | e.printStackTrace(); |
| 145 | } |
| 146 | LogFactory.closeInstance(); |
| 147 | System.exit(55); |
| 148 | } catch (Throwable thr) { |
| 149 | //noinspection CallToPrintStackTrace |
| 150 | thr.printStackTrace(); |
| 151 | LogFactory.closeInstance(); |
| 152 | System.exit(55); |
| 153 | } |
| 154 | } |
| 155 | |
| 156 | public static @NotNull String propertyPathToEnvVarName(@NotNull String propertyPath) { |
| 157 | return "QDB_" + propertyPath.replace('.', '_').toUpperCase(); |
nothing calls this directly
no test coverage detected