| 98 | |
| 99 | |
| 100 | static bool tryCreateDirectories(Poco::Logger * logger, const std::string & path) |
| 101 | { |
| 102 | try |
| 103 | { |
| 104 | fs::create_directories(path); |
| 105 | return true; |
| 106 | } |
| 107 | catch (...) |
| 108 | { |
| 109 | LOG_WARNING(logger, "{}: when creating {}, {}", __PRETTY_FUNCTION__, path, getCurrentExceptionMessage(true)); |
| 110 | } |
| 111 | return false; |
| 112 | } |
| 113 | |
| 114 | |
| 115 | void BaseDaemon::loadConfiguration() |
no test coverage detected