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

Making the errors more specific and checking the address for typing errors #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Dereek69
Copy link

It really bothered me that the error for when no job available was something that made me thing the miner was broken.
So i added an exception for the Error 500 which is the one you guys are using for no job, and then it still defaults to the old error message for all the other responses other than 200 and 500

Dereek69 and others added 2 commits March 21, 2024 13:21
Instead of looking for the address right away, it first checks if an argument is provided, and if it is, it check if the address is valid aka starts with nimble1 and is 45 characters long
@Dereek69
Copy link
Author

Added an additional check in case the address provided is typed wrong or is too long

@Dereek69 Dereek69 changed the title Made the missing particle error more specific Making the errors more specific and checking the address for typing errors Mar 21, 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