Skip to content
This repository has been archived by the owner on Feb 19, 2024. It is now read-only.

Clean up error message on bad auth token #63

Open
zoe-codez opened this issue Apr 3, 2023 · 0 comments
Open

Clean up error message on bad auth token #63

zoe-codez opened this issue Apr 3, 2023 · 0 comments
Assignees
Labels
🏚️ bug Something isn't working. Attach project label also 📇 hass type generate @digital-alchemy/hass-type-generate

Comments

@zoe-codez
Copy link
Owner

zoe-codez commented Apr 3, 2023

Dumps script source to console, making things hard to read

Fix

Implement a call at script startup that only exists to verify the token works. If things don't work, then early abort

@zoe-codez zoe-codez added 🏚️ bug Something isn't working. Attach project label also 📇 hass type generate @digital-alchemy/hass-type-generate labels Apr 3, 2023
@zoe-codez zoe-codez self-assigned this May 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🏚️ bug Something isn't working. Attach project label also 📇 hass type generate @digital-alchemy/hass-type-generate
Development

No branches or pull requests

1 participant