Skip to content

Swagger generated error not handled on the client shows a memory address #187

Open
@xoanmi

Description

@xoanmi

Describe the bug

The generated error not handled on the client shows a memory address. For instance:

  • GET /projects/{project_name_or_id}][401] getProjectUnauthorized &{Errors:[0x140003c42c0]

To Reproduce

Force any error not handled on the handleSwaggerXYZErrors() functions.

Expected behaviour

The error generated by swagger is a proper string and does not include memory addresses.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions