Skip to content
Snippets Groups Projects
Commit dd5a22f8 authored by Sam Jenkins's avatar Sam Jenkins
Browse files

changed to pass exception by reference

Re #18529
parent f9c6fe67
No related branches found
No related tags found
No related merge requests found
...@@ -226,7 +226,7 @@ const std::map<std::string, std::string> CatalogHelper::validateProperties( ...@@ -226,7 +226,7 @@ const std::map<std::string, std::string> CatalogHelper::validateProperties(
dateField = "EndDate"; dateField = "EndDate";
getTimevalue(catalogAlgorithm->getProperty(dateField)); getTimevalue(catalogAlgorithm->getProperty(dateField));
} catch (std::invalid_argument) { } catch (std::invalid_argument &) {
std::string documentation = std::string documentation =
propertyDocumentation(catalogAlgorithm->getProperties(), dateField); propertyDocumentation(catalogAlgorithm->getProperties(), dateField);
errors.emplace(dateField + "_err", documentation); errors.emplace(dateField + "_err", documentation);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment