Skip to content

ethd keys handles malformed error messages#2566

Open
yorickdowne wants to merge 1 commit intoethstaker:mainfrom
yorickdowne:keys-error-handling
Open

ethd keys handles malformed error messages#2566
yorickdowne wants to merge 1 commit intoethstaker:mainfrom
yorickdowne:keys-error-handling

Conversation

@yorickdowne
Copy link
Copy Markdown
Collaborator

What I did

Some clients will return a 500 code with a plain-text error, instead of a JSON-formatted one.

Handle error messages gracefully, whether jq can parse them, or not.

Also fix debug output of API data that is passed in a file

@yorickdowne yorickdowne requested a review from pietjepuk2 April 23, 2026 18:09
@yorickdowne yorickdowne changed the title ethd keys handles malformed messages ethd keys handles malformed error messages Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant