Skip to content

Commit

Permalink
refactor(preferences): show notification on authentication failure
Browse files Browse the repository at this point in the history
  • Loading branch information
ddkasa committed Oct 25, 2024
1 parent 26f2c9c commit ee5b9f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ulauncher_toggl_extension/preferences.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ def authentication(
try:
auth = use_togglrc()
except AuthenticationError:
msg = "Authentication is not setup correctly."
show_notification(msg, TIP_IMAGES[TipSeverity.ERROR])
log.exception("Authentication is missing.")
raise

Expand Down

0 comments on commit ee5b9f8

Please sign in to comment.