From d8e08b237dbdcef6c636bdfb41631bf7f2c70f55 Mon Sep 17 00:00:00 2001 From: TekH Date: Thu, 22 Jan 2026 02:04:52 +0100 Subject: [PATCH] Simplify SqlException config structure in appsettings.json Removed the "ErrorMessages" wrapper from the SqlException section, placing "SqlExceptionNumber" directly under "SqlException". No changes to the exception numbers themselves. Improved readability and clarity of the configuration. --- src/ReC.API/appsettings.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/ReC.API/appsettings.json b/src/ReC.API/appsettings.json index 61431fb..b46c061 100644 --- a/src/ReC.API/appsettings.json +++ b/src/ReC.API/appsettings.json @@ -9,10 +9,8 @@ "MaxConcurrentInvocations": 5 }, "SqlException": { - "ErrorMessages": { - // https://learn.microsoft.com/en-us/dotnet/api/system.data.sqlclient.sqlexception.number - "SqlExceptionNumber": [ 515 , 547, 2601, 2627] - } + // https://learn.microsoft.com/en-us/dotnet/api/system.data.sqlclient.sqlexception.number + "SqlExceptionNumber": [ 515, 547, 2601, 2627 ] }, "AddedWho": "ReC.API", "FakeProfileId": 2