diff --git a/src/ReC.API/appsettings.json b/src/ReC.API/appsettings.json index 769ff22..9e4d561 100644 --- a/src/ReC.API/appsettings.json +++ b/src/ReC.API/appsettings.json @@ -8,10 +8,10 @@ "RecAction": { "MaxConcurrentInvocations": 5 }, - // SqlException numbers can be updated at runtime; no restart required. + // Bad request SqlException numbers numbers can be updated at runtime; no restart required. "SqlException": { // https://learn.microsoft.com/en-us/dotnet/api/system.data.sqlclient.sqlexception.number - "SqlExceptionNumber": [ 515, 547, 2601, 2627, 50000 ] + "BadRequestSqlExceptionNumbers": [ 515, 547, 2601, 2627, 50000 ] }, "AddedWho": "ReC.API", "FakeProfileId": 2 diff --git a/src/ReC.Application/Common/Options/SqlExceptionOptions.cs b/src/ReC.Application/Common/Options/SqlExceptionOptions.cs index 1ac7691..6bb9cc3 100644 --- a/src/ReC.Application/Common/Options/SqlExceptionOptions.cs +++ b/src/ReC.Application/Common/Options/SqlExceptionOptions.cs @@ -2,5 +2,5 @@ namespace ReC.Application.Common.Options; public class SqlExceptionOptions { - public HashSet SqlExceptionNumber { get; set; } = []; + public HashSet BadRequestSqlExceptionNumbers { get; set; } = []; } \ No newline at end of file diff --git a/src/ReC.Application/Common/Procedures/DeleteProcedure/DeleteObjectProcedure.cs b/src/ReC.Application/Common/Procedures/DeleteProcedure/DeleteObjectProcedure.cs index 6033097..026482b 100644 --- a/src/ReC.Application/Common/Procedures/DeleteProcedure/DeleteObjectProcedure.cs +++ b/src/ReC.Application/Common/Procedures/DeleteProcedure/DeleteObjectProcedure.cs @@ -82,7 +82,7 @@ public class DeleteObjectProcedureHandler(IRepository repo, IOptionsMonitor