Skip to content

fix: normalize error handling and update tests#7

Merged
landabaso merged 1 commit intomainfrom
normalize-error-throw
Jun 17, 2024
Merged

fix: normalize error handling and update tests#7
landabaso merged 1 commit intomainfrom
normalize-error-throw

Conversation

@landabaso
Copy link
Member

This PR normalizes the error handling across the ElectrumExplorer class and updates the related tests to ensure proper functionality. This includes:

  • Introducing a helper function getErrorMsg to standardize error messages.
  • Updating methods to use the getErrorMsg function for consistent error handling.
  • Adding a test case for push errors.

@landabaso landabaso merged commit 2dc06e5 into main Jun 17, 2024
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