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

Better error handling on sidecar proxy errors #515

Open
mempirate opened this issue Dec 4, 2024 · 0 comments
Open

Better error handling on sidecar proxy errors #515

mempirate opened this issue Dec 4, 2024 · 0 comments
Labels
C: bolt-sidecar Component: bolt-sidecar D-good-first-issue Difficulty: a great choice to get started! T: chore Type: Chore
Milestone

Comments

@mempirate
Copy link
Contributor

mempirate commented Dec 4, 2024

Context

Currently proxy errors are not dealt with correctly and fail decoding:

2024-12-04T12:54:12.628341Z  WARN bolt_sidecar::api::builder: Proxy error, fetching local payload instead slot=3117871 elapsed=516.11571ms 
err=ReqwestError(reqwest::Error { kind: Decode, source: Error("EOF while parsing a value", line: 1, column: 0) })

This makes it hard to debug. In the case of an error, we should print the error string instead.

@mempirate mempirate added C: bolt-sidecar Component: bolt-sidecar D-good-first-issue Difficulty: a great choice to get started! T: chore Type: Chore labels Dec 4, 2024
@mempirate mempirate added this to the v0.3.1 milestone Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: bolt-sidecar Component: bolt-sidecar D-good-first-issue Difficulty: a great choice to get started! T: chore Type: Chore
Projects
None yet
Development

No branches or pull requests

1 participant