Skip to content

Commit 6ae98cb

Browse files
committed
Fix error logging on config validation error
1 parent 6464d3e commit 6ae98cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Common/Extensions/ConfigurationExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public static T GetAndRegisterOpenShockConfig<T>(this WebApplicationBuilder buil
3030
sb.AppendLine($"Error on field [{error.Key}] reason: {string.Join(", ", error.Value)}");
3131
}
3232

33-
Log.Error(sb.ToString());
33+
Console.WriteLine(sb.ToString());
3434
Environment.Exit(-10);
3535
}
3636

0 commit comments

Comments
 (0)