Skip to content

Commit b0e811a

Browse files
authored
fixing incorrect log message (#9744)
1 parent 0771ce5 commit b0e811a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/WebJobs.Script/Workers/Rpc/WebHostRpcWorkerChannelManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ await rpcWorkerChannel.StartWorkerProcessAsync().ContinueWith(processStartTask =
8080
{
8181
if (processStartTask.Status == TaskStatus.RanToCompletion)
8282
{
83-
_logger.LogDebug("Adding jobhost language worker channel for runtime: {language}. workerId:{id}", _workerRuntime, rpcWorkerChannel.Id);
83+
_logger.LogDebug("Adding WebHost language worker channel for runtime: {language}. workerId:{id}", runtime, rpcWorkerChannel.Id);
8484
SetInitializedWorkerChannel(runtime, rpcWorkerChannel);
8585
}
8686
else if (processStartTask.Status == TaskStatus.Faulted)
8787
{
88-
_logger.LogError("Failed to start language worker process for runtime: {language}. workerId:{id}", _workerRuntime, rpcWorkerChannel.Id);
88+
_logger.LogError("Failed to start language worker process for runtime: {language}. workerId:{id}", runtime, rpcWorkerChannel.Id);
8989
SetExceptionOnInitializedWorkerChannel(runtime, rpcWorkerChannel, processStartTask.Exception);
9090
}
9191
});

0 commit comments

Comments
 (0)