Skip to content

Commit 11c6aa3

Browse files
author
Manikanta Nallagatla
committed
debug
1 parent 58a1509 commit 11c6aa3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/WebJobs.Script.WebHost/Controllers/InstanceController.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
using Microsoft.Azure.WebJobs.Script.WebHost.Models;
1010
using Microsoft.Azure.WebJobs.Script.WebHost.Security.Authorization.Policies;
1111
using Microsoft.Extensions.Logging;
12+
using Newtonsoft.Json;
1213

1314
namespace Microsoft.Azure.WebJobs.Script.WebHost.Controllers
1415
{
@@ -51,7 +52,7 @@ public async Task<IActionResult> Assign2([FromBody] FunctionsWorkerContainerAssi
5152
{
5253
_logger.LogDebug($"Starting container assignment for host : {Request?.Host}");
5354

54-
_logger.LogDebug($"Worker assignment context is: {workerAssignmentContext}");
55+
_logger.LogDebug($"Worker assignment context is: {JsonConvert.SerializeObject(workerAssignmentContext)}");
5556

5657
return await AssignInternal(workerAssignmentContext.AssignmentContext);
5758
}

0 commit comments

Comments
 (0)