diff --git a/docs/examples/python/develop_tutorial.py b/docs/examples/python/develop_tutorial.py index 9d2b35e8b231002a28ff0a369313c7efbcbc872a..7862ff0e4420a5b5135ab1e651e0eea03017f7e8 100644 --- a/docs/examples/python/develop_tutorial.py +++ b/docs/examples/python/develop_tutorial.py @@ -10,7 +10,10 @@ import os url = os.environ["TDENGINE_CLOUD_URL"] token = os.environ["TDENGINE_CLOUD_TOKEN"] -conn = taosrest.connect(url=url, token=token) +try: + conn = taosrest.connect(url=url, token=token) +except Exception as e: + print(str(e)) # ANCHOR_END: connect # ANCHOR: insert # create super table