Update error message.

This commit is contained in:
Robin Huang 2025-04-23 09:17:35 -07:00
parent 8d414a99de
commit ffb63a63dd

View File

@ -226,7 +226,7 @@ class ApiClient:
def check_auth_token(self, auth_token): def check_auth_token(self, auth_token):
"""Verify that an auth token is present.""" """Verify that an auth token is present."""
if auth_token is None: if auth_token is None:
raise Exception("Please login first to use this node.") raise Exception("Unauthorized: Please login first to use this node.")
return auth_token return auth_token