File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -563,7 +563,7 @@ std::vector<std::string> Bundle::loadDependenciesFromYAML(const std::string &con
563563 YAML::Node node;
564564 try {
565565 node = YAML::LoadFile (config_file);
566- }catch (std::runtime_error ex){
566+ }catch (std::runtime_error& ex){
567567 LOG_FATAL_S << " Could not parse bundle config file " << config_file <<
568568 " : " << ex.what ();
569569 throw (ex);
@@ -574,7 +574,7 @@ std::vector<std::string> Bundle::loadDependenciesFromYAML(const std::string &con
574574 if (node[" bundle" ] && node[" bundle" ][" dependencies" ]){
575575 deps = node[" bundle" ][" dependencies" ].as <std::vector<std::string>>();
576576 }
577- }catch (std::runtime_error ex){
577+ }catch (std::runtime_error& ex){
578578 LOG_ERROR_S << " Error extracting dependecies from " << config_file;
579579 }
580580
You can’t perform that action at this time.
0 commit comments