Skip to content

Commit 5b66919

Browse files
authored
Add logging for worker bundle is detected (#4281)
@soninaren, merging this in so you can pick it up for the release
1 parent 7cfbc1d commit 5b66919

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/WebJobs.Script.WebHost/Management/InstanceManager.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,12 @@ private async Task ApplyContext(HostAssignmentContext assignmentContext)
169169
ZipFile.ExtractToDirectory(filePath, options.ScriptPath, overwriteFiles: true);
170170
_logger.LogInformation($"Zip extraction complete");
171171
}
172+
173+
string bundlePath = Path.Combine(options.ScriptPath, "worker-bundle");
174+
if (Directory.Exists(bundlePath))
175+
{
176+
_logger.LogInformation($"Python worker bundle detected");
177+
}
172178
}
173179
}
174180

0 commit comments

Comments
 (0)