Skip to content

Commit

Permalink
Update prompt_agent.py
Browse files Browse the repository at this point in the history
str issue on prod
  • Loading branch information
anshulg954 authored May 17, 2024
1 parent 8578b43 commit 4ab2e3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tabpfn_client/prompt_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def prompt_and_set_token(cls, user_auth_handler: "UserAuthenticationClient"):
is_created, message = user_auth_handler.set_token_by_registration(
email, password, password_confirm, validation_link, additional_info)
if not is_created:
raise RuntimeError("User registration failed: " + message + "\n")
raise RuntimeError("User registration failed: " + str(message) + "\n")

print(cls.indent("Account created successfully!") + "\n")

Expand Down

0 comments on commit 4ab2e3b

Please sign in to comment.