Skip to content

Commit e175153

Browse files
committed
Clean up
1 parent 64cf446 commit e175153

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

singlestoredb/management/manager.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -351,12 +351,10 @@ def _wait_on_endpoint(
351351
with out.connect(connect_timeout=5):
352352
pass
353353
except Exception as exc:
354+
# If we get an 'access denied' error, that means that the server is
355+
# up and we just aren't authenticating.
354356
if isinstance(exc, OperationalError) and exc.errno == 1045:
355-
print('CONNECTED')
356357
break
357-
print('STILL WAITING')
358-
import traceback
359-
traceback.print_exc()
360358
# If connection fails, check timeout and retry
361359
if timeout <= 0:
362360
raise ManagementError(

0 commit comments

Comments
 (0)