App service disables detailed error messages
Description
Detailed error messages provide more information about an error that occurs in your app, such as the error code, the line of code where the error occurred, and a description of the error. This information can be very useful for debugging issues with your app and identifying the root cause of the problem.
Fix - Buildtime
Terraform
- Resource: azurerm_app_service
- Argument: detailed_error_messages_enabled
resource "azurerm_app_service" "example" {
...
+ logs {
+ detailed_error_messages_enabled = true
+ }
...
}