Skip to content

Commit

Permalink
Improve error on AuthorizationException (#2264)
Browse files Browse the repository at this point in the history
  • Loading branch information
christianversloot authored Jan 15, 2024
1 parent 419d683 commit 87fb959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zenml/zen_server/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def authenticate_credentials(
token=access_token,
)
except AuthorizationException:
error = "Authentication error: error decoding access token"
error = "Authentication error: error decoding access token. You may need to rerun zenml connect."
logger.exception(error)
raise AuthorizationException(error)

Expand Down

0 comments on commit 87fb959

Please sign in to comment.