Skip to content

Commit

Permalink
PREFIX
Browse files Browse the repository at this point in the history
  • Loading branch information
trask committed Aug 9, 2023
1 parent 5e0c55a commit 8415c71
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,17 @@ public static class ExecuteAdvice {
@Advice.OnMethodExit(suppress = Throwable.class)
public static void methodExit() {

System.out.println("AzureWebJobsStorage: " + System.getenv("AzureWebJobsStorage"));
System.out.println(
"LanguageWorkerConsoleLog -- AzureWebJobsStorage: "
+ System.getenv("AzureWebJobsStorage"));

if (System.getenv("AzureWebJobsStorage") == null) {
// specialization hasn't occurred yet, and this is just a fake warmup request
System.out.println("Specialization hasn't occurred yet");
System.out.println("LanguageWorkerConsoleLog -- Specialization hasn't occurred yet");
return;
}

System.out.println("Calling AzureFunctions.configureOnce()");
System.out.println("LanguageWorkerConsoleLog -- Calling AzureFunctions.configureOnce()");
AzureFunctions.configureOnce();
}
}
Expand Down

0 comments on commit 8415c71

Please sign in to comment.