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
I just want to add, that (at least) when using @ServiceBusQueueTrigger, the output will only be that the function timeouted without any reason or hint that a class initialization failed. Support only suggested upgrading function runtime to 4.x (does not help), check logs (nothing to see) and verify Application Insights (nothing to see)
When an exception occurs in a static initialization, it is not logged in AppInsights.
Investigative information
Please provide the following:
48d86a7c24b1354196e9c0c9b6ee7d19
Repro steps
Here's a sample function to reproduce:
And here's what AppInsights shows when queried for all exceptions and trace messages after invocation of that function:
Expected behavior
Provide a description of the expected behavior.
The exception thrown from the static block is recorded in App Insights.
Actual behavior
The exception thrown from the static block is not recorded in App Insights.
Known workarounds
Do not use any static code.
The text was updated successfully, but these errors were encountered: