Broadleaf Microservices
  • v1.0.0-latest-prod

Error Handling Configuration

Overview

There are various properties you can configure when utilizing Broadleaf’s error handling.

Error Handling Properties

Properties related to error handling config

Property Description

broadleaf.mvc.exception.handler.enabled

disables the exception handler completely when set to false (defaults to true)

server.error.include-stacktrace

includes a GlobalError for stacktrace in the response with the full stack trace. This is a property that comes from Spring Boot, consult the Javadocs for their values and meanings.

server.error.includeException

whether or not to include the exception class name in the response. This is a property that comes from Spring Boot’s ErrorProperties.