Skip to content

Remove trace from api exceptions #73

Description

@benchdoos

If there is an exception during request, response dto contains trace log:

{
  "timestamp": "2020-04-13T09:11:05.547+0000",
  "status": 500,
  "error": "Internal Server Error",
  "message": "No message available",
  "trace": "java.lang.NullPointerException\n\tat com.github.benchdoos.meetroom.controller.api.v1.ApiV/.....",
  "path": "/meetroom/api/v1/user/change-username"
}

Trace must be moved.

Metadata

Metadata

Assignees

Labels

/api/v1Public rest api v1 improvementsenhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions