Commit 18896952 authored by Stephan Lachnit's avatar Stephan Lachnit Committed by Simon Spannagel
Browse files

GeometryManager: comments from Simon

(cherry picked from commit 6763f5e6)
parent 4526ae57
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -362,7 +362,6 @@ void GeometryManager::load_models() {
    // Get paths to read models from
    std::vector<std::string> paths = getModelsPath();

    std::vector<std::pair<std::string, ConfigReader>> readers;
    LOG(TRACE) << "Reading model files";
    // Add all the paths to the reader
    for(auto& path : paths) {
@@ -414,7 +413,7 @@ void GeometryManager::read_model_file(const std::filesystem::path& path) {

    } catch(const ConfigParseError& e) {
        // Not a valid config file, see https://gitlab.cern.ch/allpix-squared/allpix-squared/-/issues/277
        LOG(ERROR) << "Skipping invalid model file " << path << ":" << std::endl << e.what();
        LOG(ERROR) << "Skipping invalid model file \"" << path << "\":" << std::endl << e.what();
    }
}