Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xoanmi opened this issue Feb 13, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@xoanmi
Copy link
Contributor

xoanmi commented Feb 13, 2024

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.

@xoanmi xoanmi added the bug Something isn't working label Feb 13, 2024
@xoanmi
Copy link
Contributor Author

xoanmi commented Feb 13, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant