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

[TT-5070]Wrong HTTP status code when panic happens inside Go plugin #5984

Open
diegobernardes opened this issue Jan 29, 2024 · 1 comment
Open

Comments

@diegobernardes
Copy link

Branch/Environment/Version

  • Branch/Version: v5.0.10
  • Environment: On-prem

Describe the bug
If an endpoint is called and it uses a Go plugin and the plugin happens to panic, Tyk will catch the panic but instead of return an 5XX HTTP error code it will return a 200.

@pagemag
Copy link

pagemag commented Feb 23, 2024

Thanks for pointing this out. An internal ticket is currently open for this issue.

@pagemag pagemag changed the title Wrong HTTP status code when panic happens inside Go plugin [TT-5070]Wrong HTTP status code when panic happens inside Go plugin Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants