godbout / alfred-time

Start and stop tracking time with Toggl, Harvest, Everhour or Clockify through Alfred 4. ⏰️
MIT License
110 stars 8 forks source link

Better check if authentication is wrong? #25

Open godbout opened 5 years ago

godbout commented 5 years ago

For v2:

Currently if the authentication is wrong, you can still prepare a timer and send it. Of course it will not be started. The list of recent timers, projects and tags will be empty. It's quite obvious that there's something wrong with authentication, and it doesn't break the workflow per se, but maybe add a better failed authentication response?

For example we could check for correct authentication when a timer service is getting enabled from the menu, and not enable it if authentication failed.