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
@@ -1196,7 +1205,8 @@ private static class RequestDelegateFactoryConstants
1196
1205
1197
1206
privatestaticpartialclassLog
1198
1207
{
1199
-
privateconststringRequestBodyInvalidDataExceptionMessage="Reading the request body failed with an InvalidDataException.";
1208
+
privateconststringInvalidJsonRequestBodyMessage=@"Failed to read parameter ""{ParameterType} {ParameterName}"" from the request body as JSON.";
1209
+
privateconststringInvalidJsonRequestBodyExceptionMessage=@"Failed to read parameter ""{0} {1}"" from the request body as JSON.";
1200
1210
1201
1211
privateconststringParameterBindingFailedLogMessage=@"Failed to bind parameter ""{ParameterType} {ParameterName}"" from ""{SourceValue}"".";
1202
1212
privateconststringParameterBindingFailedExceptionMessage=@"Failed to bind parameter ""{0} {1}"" from ""{2}"".";
@@ -1206,6 +1216,7 @@ private static partial class Log
1206
1216
1207
1217
privateconststringUnexpectedContentTypeLogMessage=@"Expected a supported JSON media type but got ""{ContentType}"".";
1208
1218
privateconststringUnexpectedContentTypeExceptionMessage=@"Expected a supported JSON media type but got ""{0}"".";
1219
+
1209
1220
privateconststringImplicitBodyNotProvidedLogMessage=@"Implicit body inferred for parameter ""{ParameterName}"" but no body was provided. Did you mean to use a Service instead?";
1210
1221
privateconststringImplicitBodyNotProvidedExceptionMessage=@"Implicit body inferred for parameter ""{0}"" but no body was provided. Did you mean to use a Service instead?";
1211
1222
@@ -1217,18 +1228,19 @@ public static void RequestBodyIOException(HttpContext httpContext, IOException e
1217
1228
[LoggerMessage(1,LogLevel.Debug,"Reading the request body failed with an IOException.",EventName="RequestBodyIOException")]
0 commit comments