diff --git a/qt/widgets/common/src/CatalogHelper.cpp b/qt/widgets/common/src/CatalogHelper.cpp
index b5ab3790becc6201e4b9352676f3e5b60023371c..9c2aa55ba668e5adcf4100aa7947516078f029b2 100644
--- a/qt/widgets/common/src/CatalogHelper.cpp
+++ b/qt/widgets/common/src/CatalogHelper.cpp
@@ -226,7 +226,7 @@ const std::map<std::string, std::string> CatalogHelper::validateProperties(
     dateField = "EndDate";
 
     getTimevalue(catalogAlgorithm->getProperty(dateField));
-  } catch (std::invalid_argument) {
+  } catch (std::invalid_argument &) {
     std::string documentation =
         propertyDocumentation(catalogAlgorithm->getProperties(), dateField);
     errors.emplace(dateField + "_err", documentation);