Skip to content

Commit 38ac827

Browse files
:(
1 parent a3f3cac commit 38ac827

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Shared/General/ConfigurationReader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ private static T GetTypedValueFromSection<T>(String sectionName,
116116

117117
T value = section.Get<T>();
118118

119-
if (section[keyName] == null) {
119+
if (value == null) {
120120
throw new Exception($"No configuration value was found for key [{sectionName}:{keyName}]");
121121
}
122122

0 commit comments

Comments
 (0)