Open alrod opened 4 years ago
@alrod was this with a private site extension or with prod bits? At what point did this blow up?
It certainly looks like we're using FirstOrDefault()
there... yet it's throwing as if we're not.
var functionMetadata = _functionMetadataProvider.GetFunctionMetadata(true)
.FirstOrDefault(metadata => Utility.FunctionNamesMatch(metadata.Name, name));
Request URL: https://management.azure.com/subscriptions/xxx/resourceGroups/alrod-v3/providers/Microsoft.Web/sites/alrod-v3-JS/functions/EventGridTrigger1?api-version=2018-11-01 Request Method: PUT Status Code: 400
{"Code":"BadRequest","Message":"Encountered an error (InternalServerError) from host runtime.","Target":null,"Details":[{"Message":"Encountered an error (InternalServerError) from host runtime."},{"Code":"BadRequest"},{"ErrorEntity":{"Code":"BadRequest","Message":"Encountered an error (InternalServerError) from host runtime."}}],"Innererror":null}
Host stacktrace: