You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1197,7 +1206,8 @@ private static class RequestDelegateFactoryConstants
1197
1206
1198
1207
privatestaticpartialclassLog
1199
1208
{
1200
-
privateconststringRequestBodyInvalidDataExceptionMessage="Reading the request body failed with an InvalidDataException.";
1209
+
privateconststringInvalidJsonRequestBodyMessage=@"Failed to read parameter ""{ParameterType} {ParameterName}"" from the request body as JSON.";
1210
+
privateconststringInvalidJsonRequestBodyExceptionMessage=@"Failed to read parameter ""{0} {1}"" from the request body as JSON.";
1201
1211
1202
1212
privateconststringParameterBindingFailedLogMessage=@"Failed to bind parameter ""{ParameterType} {ParameterName}"" from ""{SourceValue}"".";
1203
1213
privateconststringParameterBindingFailedExceptionMessage=@"Failed to bind parameter ""{0} {1}"" from ""{2}"".";
@@ -1207,6 +1217,7 @@ private static partial class Log
1207
1217
1208
1218
privateconststringUnexpectedContentTypeLogMessage=@"Expected a supported JSON media type but got ""{ContentType}"".";
1209
1219
privateconststringUnexpectedContentTypeExceptionMessage=@"Expected a supported JSON media type but got ""{0}"".";
1220
+
1210
1221
privateconststringImplicitBodyNotProvidedLogMessage=@"Implicit body inferred for parameter ""{ParameterName}"" but no body was provided. Did you mean to use a Service instead?";
1211
1222
privateconststringImplicitBodyNotProvidedExceptionMessage=@"Implicit body inferred for parameter ""{0}"" but no body was provided. Did you mean to use a Service instead?";
1212
1223
@@ -1218,18 +1229,19 @@ public static void RequestBodyIOException(HttpContext httpContext, IOException e
1218
1229
[LoggerMessage(1,LogLevel.Debug,"Reading the request body failed with an IOException.",EventName="RequestBodyIOException")]
0 commit comments