Skip to content

Enhance error handling in MultiUrlJsonRpcProvider#2416

Open
pablomendezroyo wants to merge 1 commit intodevelopfrom
pablo/improve-eth-call-loggin
Open

Enhance error handling in MultiUrlJsonRpcProvider#2416
pablomendezroyo wants to merge 1 commit intodevelopfrom
pablo/improve-eth-call-loggin

Conversation

@pablomendezroyo
Copy link
Copy Markdown
Contributor

Context

Improved error handling in the MultiUrlJsonRpcProvider by adding detailed error messages to error objects and refining the logic for extracting error codes.

Approach

The solution enhances the error reporting mechanism by including specific error messages and codes when requests to endpoints fail, facilitating easier debugging and monitoring.

Test instructions

  1. Test the MultiUrlJsonRpcProvider by invoking various methods with valid and invalid parameters.
  2. Verify that error messages are logged correctly in the console when an error occurs.
  3. Check that the error objects contain the new message field with appropriate details.

…sages to error objects and improving error code extraction logic
@pablomendezroyo pablomendezroyo requested a review from a team as a code owner March 25, 2026 13:15
@github-actions github-actions bot temporarily deployed to commit March 25, 2026 13:17 Inactive
@github-actions
Copy link
Copy Markdown

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