Errors from the AnyList client (i.e. 401 Unauthorized) are surfaced in the MagicMirror UI to make troubleshooting a breeze.
Why
This is expected to assist in troubleshooting nebulous issues like #22, #25, and #30
...and also for those Hacktoberfest stats! 😉 If you decide to merge, add that HACKTOBERFEST-ACCEPTED label so I can get those endorphines
This is what the error messages will look like now:
Testing
You can force an error by configuring a MagicMirror instance with this module using an invalid username/password. Confirm that the error message from the AnyList client is displayed in the server logs and in the MagicMirror UI.
Now provide valid credentials and confirm that the module still displays the expected list properly.
What
Why
HACKTOBERFEST-ACCEPTED
label so I can get those endorphinesThis is what the error messages will look like now:
Testing