title: "message" field is empty in error response Spring Boot
body: <p>I have handled unauthorized exception like this</p>
  
  <pre><code>@ResponseStatus(value= HttpStatus.UNAUTHORIZED)
  public class UnauthorizedException extends RuntimeException {
      public UnauthorizedException(String message) {
          super(message);
      }
  }
  </code></pre>
  
  <p>but when I throw the error as follows</p>
  
  <pre><code>throw new UnauthorizedException("Invalid credentials");
  </code></pre>
  
  <p>I get the error message empty in the response as follows</p>
  
  <pre><code>{
      "timestamp": "2020-05-27T13:44:58.032+00:00",
      "status": 401,
      "error": "Unauthorized",
      "message": "",
      "path": "/auth/register"
  }
  </code></pre>
  
  <p>I tried using,</p>
  
  <pre><code>throw new ResponseStatusException(HttpStatus.UNAUTHORIZED, "Invalid credentials");
  </code></pre>
  
  <p>but the result is still the same. When I added <em>spring-boot-devtools</em> dependency, I get the message as expected with the stack trace as well. How can I fix this?</p>
  
  <p>Spring version : 2.3.0
  Java Version: 11.0 </p>