| 468 | } |
| 469 | |
| 470 | void reloadConfig() |
| 471 | { |
| 472 | configPath = readPathFromInput(); |
| 473 | allowInternalConfig = configPath.empty(); |
| 474 | if (allowInternalConfig) |
| 475 | MESSAGEL("No external config specified, reload internal config."); |
| 476 | |
| 477 | if (!loadConfig()) |
| 478 | ERRORL("Failed to load config. Please check if config file is correct."); |
| 479 | } |
| 480 | |
| 481 | void setDatabase() |
| 482 | { |
no test coverage detected