Update wait-for-psql.py

Update
pull/519/head
kangkan patowary 2024-09-28 20:25:16 +05:30 committed by GitHub
parent 5fb6a84274
commit ec0a315000
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -28,5 +28,5 @@ if __name__ == '__main__':
time.sleep(1)
if error:
print("Database connection failure: %s" % error, file=sys.stderr)
print(f"Database connection failure after {int(time.time() - start_time)} seconds: {error}", file=sys.stderr)
sys.exit(1)