Skip to content

Exceptions should show all details #14909

@lmazuel

Description

@lmazuel

Example of JSON:

error": {
            "code": "ValidationError",
            "message": "One or more fields contain incorrect values: ",
            "details": [
                {
                    "code": "ValidationError",
                    "target": "representation",
                    "message": "Parsing error(s): String '' does not match regex pattern '^[^{}/ :]+(?: :\\\\d+)?$'. Path 'host', line 1, position 297."
                },
                {
                    "code": "ValidationError",
                    "target": "representation",
                    "message": "Parsing error(s): The input OpenAPI file is not valid for the OpenAPI specificate https: //github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md (schema https://github.com/OAI/OpenAPI-Specification/blob/master/schemas/v2.0/schema.json)."
                }
            ]
        }

Right now, just the initial lines are shown. We should see all in a multiline line log

Metadata

Metadata

Assignees

Labels

Azure.CoreClientThis issue points to a problem in the data-plane of the library.bugThis issue requires a change to an existing behavior in the product in order to be resolved.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions