Skip to content
This repository was archived by the owner on Aug 3, 2026. It is now read-only.
This repository was archived by the owner on Aug 3, 2026. It is now read-only.

Improve error logging for Alchemy rate limit (429) errors #1444

Description

@yongkangc

Problem

Alchemy rate limit errors (HTTP 429) only log the status code, not the detailed error message from the response body.

This is hard to debug.

Current log:

HTTP error: 429 Too Many Requests

Alchemy response body contains:

{"error": {"code": 429, "message": "Monthly capacity limit exceeded. Visit https://dashboard.alchemy.com/settings/billing..."}}

Location: https://github.com/ithacaxyz/relay/blob/main/src/chains.rs#L435

Parse and log the error.message field from JSON-RPC error responses.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestobservabilityRelated to tracing, metrics, logs and other observability tools

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions