Commit 028deddf authored by tqcq's avatar tqcq
Browse files

fix log for config

parent 3d879800
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -54,9 +54,12 @@ Config::ReadInConfig()
                return true;
                // goto config_read_success;
            } catch (const std::exception &e) {
                LOGE("Failed to parse config file: {}, reason: {}", sled::to_string(full_path), e.what());
                LOGE("sled::Config",
                     "Failed to parse config file: {}, reason: {}",
                     sled::to_string(full_path),
                     e.what());
            } catch (...) {
                LOGD("Failed to parse config file: {}", sled::to_string(full_path));
                LOGD("sled::Config", "Failed to parse config file: {}", sled::to_string(full_path));
            }
        }
        return false;