Skip to content

Commit

Permalink
Better error handling for invalid API token.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsherstinsky committed Jun 27, 2024
1 parent 58f873c commit 75affdf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def initialize_client(
return Predibase(api_token=self.predibase_api_key)
except ValueError as e:
raise ValueError(
'Your "PREDIBASE_API_TOKEN" is not correct. Please try again'
'Your "PREDIBASE_API_TOKEN" is not correct. Please try again.'
) from e

@classmethod
Expand Down

0 comments on commit 75affdf

Please sign in to comment.