Skip to content

Commit e468a5e

Browse files
authored
DPL: throw exception if bad type requested for option (#5862)
1 parent 47b6a4a commit e468a5e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Framework/Core/include/Framework/ConfigParamRegistry.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ class ConfigParamRegistry
8383
} catch (...) {
8484
throw std::invalid_argument(std::string("error parsing option: ") + key);
8585
}
86+
throw std::invalid_argument(std::string("bad type for option: ") + key);
8687
}
8788

8889
private:

0 commit comments

Comments
 (0)