Skip to content

Conversation

@kroese
Copy link
Contributor

@kroese kroese commented Feb 23, 2025

When using the wrong password for the API, the app fails to parse the response and just fails with the generic error message "Server error". This made it very hard for me to pinpoint the problem, because if the URL is invalid for example you will get an identical response.

So I improved the error handling when communicating with the API, and now it communicates the correct error message back to the user, for example "invalid password".

@mvdkleijn
Copy link
Collaborator

Hey @kroese you had linter issues so I merged the other pihole pr first, causing some merge conflicts for you, sorry.

@kroese kroese closed this Feb 26, 2025
@kroese
Copy link
Contributor Author

kroese commented Feb 26, 2025

@mvdkleijn I created a new pull: #818

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

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants